fixing bugs in time log and added the diagnostic for all request/response