Improved the HTTP method and status code logging.