# HG changeset patch # User Dennis Fink # Date 2014-01-21 18:46:11 # Node ID efc6a740bc8613c8406245573b2906a51ed1b6ec # Parent 7c213789fa4470092aac7b00cad3632028667abb more bytes for logs diff --git a/ennstatus/log.py b/ennstatus/log.py --- a/ennstatus/log.py +++ b/ennstatus/log.py @@ -17,7 +17,7 @@ def init_logging(app): rotating_file_handler = logging.handlers.RotatingFileHandler( 'log/ennstatus.log', - maxBytes=130000, + maxBytes=1300000, backupCount=10, encoding='utf-8') rotating_file_handler.setLevel(logging.INFO) @@ -26,7 +26,7 @@ def init_logging(app): if app.debug: second_rotating_file_handler = logging.handlers.RotatingFileHandler( 'log/ennstatus_debug.log', - maxBytes=130000, + maxBytes=1300000, backupCount=20, encoding='utf-8') second_rotating_file_handler.setLevel(logging.DEBUG)