Changeset - a19f3f2293ba
[Not reviewed]
default
0 1 0
Dennis Fink - 10 years ago 2014-10-23 15:40:25
dennis.fink@c3l.lu
Fix ENABLE_DEBUG_LOG
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
ennstatus/log.py
Show inline comments
 
@@ -24,7 +24,7 @@ def init_logging(app):
 
    rotating_file_handler.setLevel(logging.INFO)
 
    rotating_file_handler.setFormatter(logging_formatter)
 

	
 
    if app.debug or app.config['ENABLE_DEBUG_LOG']:
 
    if app.debug or ('ENABLE_DEBUG_LOG' in app.config and app.config['ENABLE_DEBUG_LOG']):
 
        second_rotating_file_handler = logging.handlers.RotatingFileHandler(
 
            'log/ennstatus_debug.log',
 
            maxBytes=1300000,
0 comments (0 inline, 0 general)