Turn down gunicorn logging, reorder request logging
This commit is contained in:
parent
af3f4ac614
commit
e501427f38
|
@ -24,5 +24,5 @@ class LoggingThrottle(throttling.BaseThrottle):
|
|||
else:
|
||||
data = None
|
||||
|
||||
logging.info('Request - User: %s | %s %s | Data: %s', user, method, path, data)
|
||||
logging.info('%s %s | User: %s | Data: %s', method, path, user, data)
|
||||
return True
|
||||
|
|
|
@ -239,7 +239,7 @@ LOGGING = {
|
|||
'loggers': {
|
||||
'gunicorn': {
|
||||
'handlers': ['console'],
|
||||
'level': 'DEBUG',
|
||||
'level': 'DEBUG' if DEBUG else 'INFO',
|
||||
'propagate': False,
|
||||
},
|
||||
'': {
|
||||
|
|
Loading…
Reference in New Issue
Block a user