From b4480ad745510c8e81c88c20fb67cb65eef79cc5 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期四, 17 八月 2023 11:05:23 +0800
Subject: [PATCH] ++++++++++++++++ bug修复

---
 huaxin_api/l2_client.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/huaxin_api/l2_client.py b/huaxin_api/l2_client.py
index 59a36f0..e425a05 100644
--- a/huaxin_api/l2_client.py
+++ b/huaxin_api/l2_client.py
@@ -1,6 +1,7 @@
 # -*- coding: utf-8 -*-
 import json
 import logging
+import os
 import queue
 import threading
 import time
@@ -12,7 +13,7 @@
 from huaxin_api.command_manager import L2ActionCallback
 from log_module import log
 from log_module.log import logger_local_huaxin_l2_subscript, logger_local_huaxin_l2_orderdetail, \
-    logger_local_huaxin_l2_transaction
+    logger_local_huaxin_l2_transaction, logger_system
 
 Front_Address = "tcp://10.0.1.101:6900"
 Multicast_Address = "udp://224.224.2.19:7889"
@@ -538,6 +539,7 @@
 
 
 def run(pipe_trade, pipe_strategy):
+    logger_system.info("L2杩涚▼ID锛�", os.getpid())
     log.close_print()
     if pipe_trade is not None:
         t1 = threading.Thread(target=lambda: __receive_from_pipe_trade(pipe_trade), daemon=True)

--
Gitblit v1.8.0