Bumping log backup count to 6

This commit is contained in:
Andrew Melton 2013-11-25 10:45:30 -05:00
parent dbb9954a7b
commit 757d356f08

View File

@ -109,7 +109,7 @@ def _create_timed_rotating_logger(name):
logger.setLevel(logging.DEBUG)
handler = TimedRotatingFileHandlerWithCurrentTimestamp(
default_logger_location % name, when='midnight', interval=1,
backupCount=3)
backupCount=6)
formatter = logging.Formatter(
'%(asctime)s - %(name)s - %(levelname)s - %(message)s')
handler.setFormatter(formatter)