From 9e32a63db6385f0d85c2d3e5b541e1b5652ebdeb Mon Sep 17 00:00:00 2001 From: Oleg Lavrovsky Date: Wed, 26 Apr 2017 15:44:04 +0200 Subject: [PATCH] Set wagtail log level to warning --- publichealth/settings/production.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/publichealth/settings/production.py b/publichealth/settings/production.py index 661ad2f..db87832 100644 --- a/publichealth/settings/production.py +++ b/publichealth/settings/production.py @@ -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