server/middleware: log request method

This commit is contained in:
rr- 2016-07-26 21:28:23 +02:00
parent 3f7ccfaea2
commit 3f2717843a

View file

@ -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())