Set wagtail log level to warning
This commit is contained in:
parent
212ec6394c
commit
9e32a63db6
1 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@ LOGGING = {
|
|||
},
|
||||
'wagtail': {
|
||||
'handlers': [],
|
||||
'level': 'INFO',
|
||||
'level': 'WARNING',
|
||||
'propagate': False,
|
||||
'formatter': 'verbose',
|
||||
},
|
||||
|
@ -211,7 +211,7 @@ if 'LOG_DIR' in env:
|
|||
|
||||
# Wagtail log
|
||||
LOGGING['handlers']['wagtail_file'] = {
|
||||
'level': 'INFO',
|
||||
'level': 'WARNING',
|
||||
'class': 'cloghandler.ConcurrentRotatingFileHandler',
|
||||
'filename': os.path.join(env['LOG_DIR'], 'wagtail.log'),
|
||||
'maxBytes': 5242880, # 5MB
|
||||
|
|
Loading…
Reference in a new issue