Skip to content

Commit

Permalink
输出等级调整为debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Womsxd committed Sep 23, 2023
1 parent bc76d07 commit 909ecc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loghelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
datefmt='%Y-%m-%dT%H:%M:%S')
log = logging

# 获取httpx的日志记录器,并将其级别设置为CRITICAL,让日志不再输出httpx的相关日志
# 获取httpx的日志记录器,并将其级别设置为DEBUG,让httpx只在debug下输出日志
httpx_log = logging.getLogger("httpx")
httpx_log.setLevel(logging.CRITICAL)
httpx_log.setLevel(logging.DEBUG)

0 comments on commit 909ecc9

Please sign in to comment.