mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-02-15 08:16:06 +08:00
Update log.py
This commit is contained in:
@@ -20,7 +20,7 @@ def _reset_logger(log):
|
||||
file_handle.setFormatter(
|
||||
logging.Formatter(
|
||||
"[%(levelname)s][%(asctime)s][%(filename)s:%(lineno)d] - %(message)s",
|
||||
datefmt="%Y-%m-%d %H:%M:%S",
|
||||
datefmt="%Y-%m-%d %H:%M:%S",
|
||||
)
|
||||
)
|
||||
log.addHandler(file_handle)
|
||||
|
||||
Reference in New Issue
Block a user