From 5adedb7c797ad08b7607c56e8255c21609c97000 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期一, 15 四月 2024 00:07:31 +0800 Subject: [PATCH] 新版深证下单完善 --- log_module/log.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/log_module/log.py b/log_module/log.py index b2a9e5c..c9326d2 100644 --- a/log_module/log.py +++ b/log_module/log.py @@ -251,6 +251,9 @@ logger.add(self.get_hx_path("trade", "trade_loop"), filter=lambda record: record["extra"].get("name") == "hx_trade_loop", rotation="00:00", compression="zip", enqueue=True) + logger.add(self.get_hx_path("trade", "l2_active_sell"), + filter=lambda record: record["extra"].get("name") == "hx_l2_active_sell", + rotation="00:00", compression="zip", enqueue=True) logger.add(self.get_local_huaxin_path("l2", "transaction"), filter=lambda record: record["extra"].get("name") == "local_huaxin_transaction", @@ -411,6 +414,7 @@ hx_logger_trade_callback = __mylogger.get_logger("hx_trade_callback") hx_logger_trade_debug = __mylogger.get_logger("hx_trade_debug") hx_logger_trade_loop = __mylogger.get_logger("hx_trade_loop") +hx_logger_l2_active_sell = __mylogger.get_logger("hx_l2_active_sell") # -------------------------------鍗庨懌鏈湴鏃ュ織--------------------------------- logger_local_huaxin_l2_transaction = __mylogger.get_logger("local_huaxin_transaction") -- Gitblit v1.8.0