From 7b4dbbfc406509f87b8e6e1842b7b4cb88f97a2d Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 07 七月 2023 11:20:15 +0800 Subject: [PATCH] 华鑫适配 --- logs_/log.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/logs_/log.py b/logs_/log.py index bd32951..968b579 100644 --- a/logs_/log.py +++ b/logs_/log.py @@ -164,7 +164,7 @@ rotation="00:00", compression="zip", enqueue=True) def get_path(self, dir_name, log_name): - return "{}/logs_/gp/{}/{}".format('D:' if constant.is_windows() else '/home', dir_name, + return "{}/logs/gp/{}/{}".format('D:' if constant.is_windows() else '/home', dir_name, log_name) + ".{time:YYYY-MM-DD}.log" def get_logger(self, log_name): -- Gitblit v1.8.0