Changeset - efc6a740bc86
[Not reviewed]
default
0 1 0
Dennis Fink - 11 years ago 2014-01-21 18:46:11
dennis.fink@c3l.lu
more bytes for logs
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
ennstatus/log.py
Show inline comments
 
@@ -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)
0 comments (0 inline, 0 general)