server: added logger , app added  after error request hook