set maxsize for roll to 5k
parent
dad5b4b3cc
commit
1bc135a453
|
@ -78,7 +78,7 @@ LOGGING = {
|
||||||
'level': 'INFO',
|
'level': 'INFO',
|
||||||
'class': 'logging.handlers.RotatingFileHandler',
|
'class': 'logging.handlers.RotatingFileHandler',
|
||||||
'filename': join('/var/log/regluit', 'unglue.it.log'),
|
'filename': join('/var/log/regluit', 'unglue.it.log'),
|
||||||
'maxBytes': 1024*1024*5, # 5 MB
|
'maxBytes': 1024 * 5, # 5 kB
|
||||||
'backupCount': 5,
|
'backupCount': 5,
|
||||||
'formatter': 'brief',
|
'formatter': 'brief',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue