Changeset - 69ec616687e6
[Not reviewed]
default
0 1 0
Dennis Fink - 11 years ago 2014-07-15 18:06:31
dennis.fink@c3l.lu
Change from address in SMTPHandler
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
ennstatus/log.py
Show inline comments
 
@@ -33,13 +33,13 @@ def init_logging(app):
 
        second_rotating_file_handler.setLevel(logging.DEBUG)
 
        second_rotating_file_handler.setFormatter(logging_debug_formatter)
 
        app.logger.addHandler(second_rotating_file_handler)
 

	
 
    smtp_handler = logging.handlers.SMTPHandler(
 
        'localhost',
 
        'info@c3l.lu',
 
        'ennstatus@enn.lu',
 
        app.config.get('ENNSTATUS_ADMINS', None),
 
        '[Ennstatus] Error')
 
    smtp_handler.setLevel(logging.ERROR)
 
    smtp_handler.setFormatter(logging_formatter)
 

	
 
    app.logger.addHandler(stream_handler)
0 comments (0 inline, 0 general)