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:
|
else:
|
||||||
data = None
|
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
|
return True
|
||||||
|
|
|
@ -239,7 +239,7 @@ LOGGING = {
|
||||||
'loggers': {
|
'loggers': {
|
||||||
'gunicorn': {
|
'gunicorn': {
|
||||||
'handlers': ['console'],
|
'handlers': ['console'],
|
||||||
'level': 'DEBUG',
|
'level': 'DEBUG' if DEBUG else 'INFO',
|
||||||
'propagate': False,
|
'propagate': False,
|
||||||
},
|
},
|
||||||
'': {
|
'': {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user