set maxsize for roll to 5k
parent
dad5b4b3cc
commit
1bc135a453
|
@ -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',
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue