From d80de8a0848dedb23fd8a8beff2e25c83be50c79 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期四, 17 八月 2023 15:03:32 +0800
Subject: [PATCH] 删除redis日志与时间日志

---
 huaxin_api/l1_client.py |    2 +-
 log_module/log.py       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/huaxin_api/l1_client.py b/huaxin_api/l1_client.py
index e960f1f..36e23dd 100644
--- a/huaxin_api/l1_client.py
+++ b/huaxin_api/l1_client.py
@@ -161,8 +161,8 @@
 
 
 def run(pipe_l2):
-    time.sleep(10)
     logger_local_huaxin_l1.info("杩愯l1璁㈤槄鏈嶅姟")
+    time.sleep(10)
     codes_sh = []
     codes_sz = []
     for i in range(3):
diff --git a/log_module/log.py b/log_module/log.py
index 44ac785..00bd989 100644
--- a/log_module/log.py
+++ b/log_module/log.py
@@ -224,7 +224,7 @@
                    filter=lambda record: record["extra"].get("name") == "local_huaxin_trade_debug",
                    rotation="00:00", compression="zip", enqueue=True)
         logger.add(sys.stdout,
-                   filter=lambda record: record["extra"].get("name") == "local_huaxin_l1_show_info", enqueue=True)
+                   filter=lambda record: record["extra"].get("name") == "local_huaxin_l1_show_info")
 
 
     def get_path(self, dir_name, log_name):

--
Gitblit v1.8.0