From 67fc28735a98395f6946ed13ff7dcd093e35478e Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期三, 03 七月 2024 10:47:56 +0800 Subject: [PATCH] 删除非必要的print --- code_attribute/first_target_code_data_processor.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/code_attribute/first_target_code_data_processor.py b/code_attribute/first_target_code_data_processor.py index 01da882..921a5b1 100644 --- a/code_attribute/first_target_code_data_processor.py +++ b/code_attribute/first_target_code_data_processor.py @@ -41,7 +41,6 @@ def process_first_codes_datas(dataList, request_id=None): logger_l2_codes_subscript.info(f"{request_id}鍔犺浇l2浠g爜鐩稿叧鏁版嵁") - print("棣栨澘浠g爜鏁伴噺锛�", len(dataList)) # 鑾峰彇鏈�杩�5澶╃殑浜ゆ槗鏃ユ湡锛屼负鍚庨潰鐨勬暟鎹绠楀仛鍑嗗 HistoryKDatasUtils.get_latest_trading_date_cache(5) limit_up_price_dict = {} @@ -170,7 +169,7 @@ # gpcode_manager.get_limit_up_price(code), # volumes_data) except Exception as e: - logger_first_code_record.error(f"{code}:{str(e)}") + logger_first_code_record.error(f"{request_id}-{code}:{str(e)}") logger_first_code_record.exception(e) logger_l2_codes_subscript.info(f"{request_id}鍔犺浇l2浠g爜K绾跨粨鏉�") -- Gitblit v1.8.0