From d8b13cde5467bc5a8158e524f680b35fb486230a Mon Sep 17 00:00:00 2001 From: admin <admin@example.com> Date: 星期五, 14 三月 2025 11:28:58 +0800 Subject: [PATCH] 日志调整 --- strategy/L2_data_analysis.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/strategy/L2_data_analysis.py b/strategy/L2_data_analysis.py index e1ec106..57d00af 100644 --- a/strategy/L2_data_analysis.py +++ b/strategy/L2_data_analysis.py @@ -40,7 +40,7 @@ # 鑾峰彇褰撳墠鏃ユ湡锛屽苟鏍煎紡鍖栦负 'YYYY-MM-DD' current_date = datetime.datetime.now().strftime('%Y-%m-%d') # 澹版槑瑕佽浆涔夌殑鏂囦欢鐨勮矾寰� - log_file_path = f'{constant.LOG_PATH}/transaction.{current_date}.log' + log_file_path = f'{constant.L2_LOG_PATH}/transaction.{current_date}.log' # 妫�鏌ユ枃浠舵槸鍚﹀瓨鍦�,濡傛灉瀛樺湪鍒欑户缁鐞嗭紝濡傛灉涓嶅瓨鍦ㄥ垯灏辨鎵撲綇 if not os.path.exists(log_file_path): logger.info(f"Error閿欒:{log_file_path}----鏂囦欢涓嶅瓨鍦紒") -- Gitblit v1.8.0