From bbefb620ecec913bdf0fc32b27f7ad5ce3ee7125 Mon Sep 17 00:00:00 2001 From: wangjie <1641540482@qq.com> Date: Wed, 15 Nov 2023 12:31:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=8F=E8=94=BD=E7=AC=AC=E4=B8=89=E6=96=B9?= =?UTF-8?q?=E5=BA=93=E7=9A=84debug=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/base_log.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/base_log.py b/common/base_log.py index 0a5e500..0762aae 100644 --- a/common/base_log.py +++ b/common/base_log.py @@ -14,7 +14,8 @@ import colorlog from common.settings import LOG_DEBUG, LOG_CONSOLE from configs.dir_path_config import LOGS_DIR - +logging.getLogger('faker').setLevel(logging.ERROR) +logging.getLogger('urllib3').setLevel(logging.ERROR) class Logger: """用于全局记录log"""