utils: fix: change notify level to info

This commit is contained in:
JerryXiao 2019-09-06 12:12:46 +08:00
parent 82cf5c7c14
commit 0e376f337b
Signed by: Jerry
GPG key ID: 9D9CE43650FF2BAA

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: