From 0e376f337b3bb13bb81ea97f2cfb92e0fa73ddb7 Mon Sep 17 00:00:00 2001 From: Jerry Date: Fri, 6 Sep 2019 12:12:46 +0800 Subject: [PATCH] utils: fix: change notify level to info --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 8544ba5..b543959 100644 --- a/utils.py +++ b/utils.py @@ -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: