From 340927061f8be6e308927e76039e9917197a2479 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期二, 19 十一月 2024 17:31:48 +0800
Subject: [PATCH] 为大单净流入添加日志文件

---
 log_module/log.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/log_module/log.py b/log_module/log.py
index 3385e89..fa0eb9a 100644
--- a/log_module/log.py
+++ b/log_module/log.py
@@ -306,6 +306,10 @@
         logger.add(self.get_local_huaxin_path("l2", "transaction"),
                    filter=lambda record: record["extra"].get("name") == "local_huaxin_transaction",
                    rotation="00:00", compression="zip", enqueue=True)
+        logger.add(self.get_local_huaxin_path("l2", "transaction_big_order"),
+                   filter=lambda record: record["extra"].get("name") == "local_huaxin_transaction_for_big_order",
+                   rotation="00:00", compression="zip", enqueue=True)
+
         logger.add(self.get_local_huaxin_path("l2", "orderdetail"),
                    filter=lambda record: record["extra"].get("name") == "local_huaxin_orderdetail",
                    rotation="00:00", compression="zip", enqueue=True)
@@ -481,6 +485,7 @@
 
 # -------------------------------鍗庨懌鏈湴鏃ュ織---------------------------------
 logger_local_huaxin_l2_transaction = __mylogger.get_logger("local_huaxin_transaction")
+logger_local_huaxin_l2_transaction_big_order = __mylogger.get_logger("local_huaxin_transaction_for_big_order")
 logger_local_huaxin_l2_orderdetail = __mylogger.get_logger("local_huaxin_orderdetail")
 logger_local_huaxin_l2_upload = __mylogger.get_logger("local_huaxin_upload")
 logger_local_huaxin_l2_error = __mylogger.get_logger("local_huaxin_error")

--
Gitblit v1.8.0