server/middleware: log request method
This commit is contained in:
parent
3f7ccfaea2
commit
3f2717843a
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ class RequestLogger(object):
|
|||
|
||||
def process_response(self, request, _response, _resource):
|
||||
logger.info(
|
||||
'%s (user=%s, queries=%d)',
|
||||
'%s %s (user=%s, queries=%d)',
|
||||
request.method,
|
||||
request.url,
|
||||
request.context.user.name,
|
||||
db.get_query_count())
|
||||
|
|
Loading…
Reference in a new issue