Show More
@@ -46,7 +46,7 b' class RequestWrapperTween(object):' | |||||
46 |
|
46 | |||
47 | def __call__(self, request): |
|
47 | def __call__(self, request): | |
48 | start = time.time() |
|
48 | start = time.time() | |
49 |
log.debug('Starting request |
|
49 | log.debug('Starting request processing') | |
50 | response = None |
|
50 | response = None | |
51 | request.req_wrapper_start = start |
|
51 | request.req_wrapper_start = start | |
52 |
|
52 | |||
@@ -63,7 +63,7 b' class RequestWrapperTween(object):' | |||||
63 |
|
63 | |||
64 | total = time.time() - start |
|
64 | total = time.time() - start | |
65 | log.info( |
|
65 | log.info( | |
66 |
' |
|
66 | 'Finished request processing: req[%4s] %s %s Request to %s time: %.4fs [%s], RhodeCode %s', | |
67 | count, _auth_user, request.environ.get('REQUEST_METHOD'), |
|
67 | count, _auth_user, request.environ.get('REQUEST_METHOD'), | |
68 | _path, total, get_user_agent(request. environ), _ver_, |
|
68 | _path, total, get_user_agent(request. environ), _ver_, | |
69 | extra={"time": total, "ver": _ver_, "ip": ip, |
|
69 | extra={"time": total, "ver": _ver_, "ip": ip, |
General Comments 0
You need to be logged in to leave comments.
Login now