need to change the filename in the log, and check for http.request object