Let log files be a little bigger, 50Mb is not that much anyway.

This commit is contained in:
Pedro Algarvio 2010-12-28 01:58:38 +00:00
parent 5841521133
commit d1b4523733
1 changed files with 1 additions and 1 deletions

View File

@ -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