Editable log level
Some checks are pending
SyncMirror / sync (push) Waiting to run

This commit is contained in:
GamerNoTitle 2024-11-30 09:27:54 +08:00
parent 24315330d8
commit 002f8b0842

View File

@ -11,7 +11,7 @@ import logging
# 设置日志配置
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",
datefmt="%Y-%m-%d %H:%M:%S",
)