Show More
@@ -45,8 +45,8 b' class RequestWrapperTween(object):' | |||
|
45 | 45 | end = time.time() |
|
46 | 46 | total = end - start |
|
47 | 47 | log.info( |
|
48 | 'IP: %s Request to %s time: %.3fs [%s]', | |
|
49 | get_ip_addr(request.environ), | |
|
48 | 'IP: %s %s Request to %s time: %.3fs [%s]', | |
|
49 | get_ip_addr(request.environ), request.environ.get('REQUEST_METHOD'), | |
|
50 | 50 | safe_str(get_access_path(request.environ)), total, |
|
51 | 51 | get_user_agent(request. environ) |
|
52 | 52 | ) |
@@ -57,4 +57,4 b' class RequestWrapperTween(object):' | |||
|
57 | 57 | def includeme(config): |
|
58 | 58 | config.add_tween( |
|
59 | 59 | 'rhodecode.lib.middleware.request_wrapper.RequestWrapperTween', |
|
60 | ) No newline at end of file | |
|
60 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now