utils: fix: change notify level to info

master
JerryXiao 2019-09-06 12:12:46 +08:00
parent 82cf5c7c14
commit 0e376f337b
Signed by: Jerry
GPG Key ID: 9D9CE43650FF2BAA
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ def configure_logger(logger, format='%(asctime)s - %(name)-18s - %(levelname)s -
logger.setLevel(logging.DEBUG)
fformatter = ExceptionFormatter(fmt=format, notify=False)
cformatter = ExceptionFormatter(fmt=format, notify=True)
cformatter = ExceptionFormatter(fmt=format, notify=enable_notify)
logging.addLevelName(49, 'Exception')
# create file handler
if logfile: