Skip to content

Commit

Permalink
fix: no debug config #744
Browse files Browse the repository at this point in the history
  • Loading branch information
zhayujie committed Apr 4, 2023
1 parent f652d59 commit 94004b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def load_config():
else:
config[name] = value

if config["debug"]:
if config.get("debug", False):
logger.setLevel(logging.DEBUG)
logger.debug("[INIT] set log level to DEBUG")

Expand Down

2 comments on commit 94004b0

@iefnaf
Copy link

@iefnaf iefnaf commented on 94004b0 Apr 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

把日志级别debug关闭之后,RailWay部署的log就没了,没法扫码了

@lanvent
Copy link
Collaborator

@lanvent lanvent commented on 94004b0 Apr 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以刷新下,我试了是可以打出来的。

Please sign in to comment.