From 757d356f08d3dbd3ccfac97f8adf596d23f7b277 Mon Sep 17 00:00:00 2001 From: Andrew Melton Date: Mon, 25 Nov 2013 10:45:30 -0500 Subject: [PATCH] Bumping log backup count to 6 --- stacktach/stacklog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacktach/stacklog.py b/stacktach/stacklog.py index 6003600..41943db 100644 --- a/stacktach/stacklog.py +++ b/stacktach/stacklog.py @@ -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)