diff --git a/settings/default.py b/settings/default.py index 37bdedfbae1eab22cf8f5506332caaff5ef8cdb6..d545b712f3a058b80065a3c83b77eca6cf4de7c4 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', },