|
@@ -22,4 +22,4 @@ log_path_error = os.path.join(log_path, f'{time.strftime("%Y-%m-%d")}_error.log'
|
|
|
|
|
|
# 日志简单配置
|
|
|
# 具体其他配置 可自行参考 https://github.com/Delgan/loguru
|
|
|
-logger.add(log_path_error, rotation="12:00", retention="365 days", enqueue=True)
|
|
|
+logger.add(log_path_error, rotation="00:00", retention="365 days", enqueue=True)
|