From 509a1b495eccf4e18ab387576e179f7e0b80178d Mon Sep 17 00:00:00 2001
From: Tanner Prestegard <tanner.prestegard@ligo.org>
Date: Tue, 31 Jan 2017 17:40:37 -0600
Subject: [PATCH] increasing debug log size and moving info log to
 ConcurrentRotatingFileHandler

---
 settings/default.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/settings/default.py b/settings/default.py
index 37bdedfba..d545b712f 100644
--- a/settings/default.py
+++ b/settings/default.py
@@ -400,15 +400,15 @@ LOGGING = {
             'class': 'logging.handlers.ConcurrentRotatingFileHandler',
             'formatter': LOG_FORMAT,
             'filename': '%s/gracedb_debug.log' % LOG_ROOT,
-            'maxBytes': LOG_FILE_SIZE,
+            'maxBytes': (10*1024*1024),
             'backupCount': LOG_FILE_BAK_CT,
             'level': 'DEBUG',
         },
         'info_file': {
-            'class': 'logging.handlers.TimedRotatingFileHandler',
+            'class': 'logging.handlers.ConcurrentRotatingFileHandler',
             'formatter': 'simple',
             'filename': '%s/gracedb_info.log' % LOG_ROOT,
-            'when': 'midnight',
+            'maxBytes': LOG_FILE_SIZE,
             'backupCount': LOG_FILE_BAK_CT,
             'level': 'INFO',
         },
-- 
GitLab