From 1bc135a453539a82e1f1acc2c2416fbab4341983 Mon Sep 17 00:00:00 2001 From: eric Date: Thu, 28 Jun 2018 09:29:03 -0400 Subject: [PATCH] set maxsize for roll to 5k --- settings/prod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/prod.py b/settings/prod.py index 06870e60..b654ddbb 100644 --- a/settings/prod.py +++ b/settings/prod.py @@ -78,7 +78,7 @@ LOGGING = { 'level': 'INFO', 'class': 'logging.handlers.RotatingFileHandler', 'filename': join('/var/log/regluit', 'unglue.it.log'), - 'maxBytes': 1024*1024*5, # 5 MB + 'maxBytes': 1024 * 5, # 5 kB 'backupCount': 5, 'formatter': 'brief', },