added logging to RequestHandler