Commit 509a1b49 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by Alexander Pace
Browse files

increasing debug log size and moving info log to ConcurrentRotatingFileHandler

parent 69585f5f
......@@ -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',
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment