1 parent
24315330d8
commit
002f8b0842
1 file changed
+1
-1
@@ -11,7 +11,7 @@ import logging
|
|||||||
|
|
||||||
# 设置日志配置
|
# 设置日志配置
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
level=logging.DEBUG,
|
level=os.environ.get("MHYY_LOGLEVEL") if os.environ.get("MHYY_LOGLEVEL") else logging.INFO,
|
||||||
format="%(asctime)s [%(levelname)s]: %(message)s",
|
format="%(asctime)s [%(levelname)s]: %(message)s",
|
||||||
datefmt="%Y-%m-%d %H:%M:%S",
|
datefmt="%Y-%m-%d %H:%M:%S",
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user