Let log files be a little bigger, 50Mb is not that much anyway.
This commit is contained in:
parent
5841521133
commit
d1b4523733
|
@ -149,7 +149,7 @@ def setupLogger(level="error", filename=None, filemode="w"):
|
|||
import logging.handlers
|
||||
handler = logging.handlers.RotatingFileHandler(
|
||||
filename, filemode,
|
||||
maxBytes=5*1024*1024, # 5 Mb
|
||||
maxBytes=50*1024*1024, # 50 Mb
|
||||
backupCount=3,
|
||||
encoding='utf-8',
|
||||
delay=0
|
||||
|
|
Loading…
Reference in New Issue