From 2021a36c8dac7f659b1e0f1e261309366d500cf6 Mon Sep 17 00:00:00 2001
From: admin <admin@example.com>
Date: 星期五, 22 八月 2025 17:24:15 +0800
Subject: [PATCH] 订单资金明细查询

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

diff --git a/log_module/log.py b/log_module/log.py
index b90e5f3..9aa1eb0 100644
--- a/log_module/log.py
+++ b/log_module/log.py
@@ -344,6 +344,10 @@
                    filter=lambda record: record["extra"].get("name") == "kpl_forbidden_plates",
                    rotation="00:00", compression="zip", enqueue=True)
 
+        logger.add(self.get_path("virtual_account", "virtual_account_money_records"),
+                   filter=lambda record: record["extra"].get("name") == "virtual_account_money_records",
+                   rotation="00:00", compression="zip", enqueue=True)
+
     def get_path(self, dir_name, log_name):
         path_str = "{}/{}/gp/{}/{}".format(constant.get_path_prefix(), constant.LOG_DIR, dir_name,
                                            log_name) + ".{time:YYYY-MM-DD}.log"
@@ -453,6 +457,8 @@
 
 logger_mysql_debug = __mylogger.get_logger("mysql_debug")
 
+logger_virtual_account_money_records= __mylogger.get_logger("virtual_account_money_records")
+
 # -------------------------------鍗庨懌鏃ュ織---------------------------------
 hx_logger_l2_orderdetail = __mylogger.get_logger("hx_l2_orderdetail")
 hx_logger_l2_transaction = __mylogger.get_logger("hx_l2_transaction")

--
Gitblit v1.8.0