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': {
|
'wagtail': {
|
||||||
'handlers': [],
|
'handlers': [],
|
||||||
'level': 'INFO',
|
'level': 'WARNING',
|
||||||
'propagate': False,
|
'propagate': False,
|
||||||
'formatter': 'verbose',
|
'formatter': 'verbose',
|
||||||
},
|
},
|
||||||
|
@ -211,7 +211,7 @@ if 'LOG_DIR' in env:
|
||||||
|
|
||||||
# Wagtail log
|
# Wagtail log
|
||||||
LOGGING['handlers']['wagtail_file'] = {
|
LOGGING['handlers']['wagtail_file'] = {
|
||||||
'level': 'INFO',
|
'level': 'WARNING',
|
||||||
'class': 'cloghandler.ConcurrentRotatingFileHandler',
|
'class': 'cloghandler.ConcurrentRotatingFileHandler',
|
||||||
'filename': os.path.join(env['LOG_DIR'], 'wagtail.log'),
|
'filename': os.path.join(env['LOG_DIR'], 'wagtail.log'),
|
||||||
'maxBytes': 5242880, # 5MB
|
'maxBytes': 5242880, # 5MB
|
||||||
|
|
Loading…
Reference in a new issue