Updated to be useful for logging web requests.