set maxsize for roll to 5k

test-logroll
eric 2018-06-28 09:29:03 -04:00
parent dad5b4b3cc
commit 1bc135a453
1 changed files with 1 additions and 1 deletions

View File

@ -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',
},