improve response logger to log some useful information