Beracles commited on
Commit
61cccd8
·
1 Parent(s): 352b367

优化日志加载提示,更新为显示加载的日期范围

Browse files
Files changed (1) hide show
  1. logging_helper.py +1 -1
logging_helper.py CHANGED
@@ -349,7 +349,7 @@ class LoggingHelper:
349
  ) + timedelta(days=1)
350
  to_timestamp = to_datetime.isoformat(timespec="microseconds")
351
 
352
- print("[load_logs] Starting to load recent 30 days logs")
353
  # 如果查询范围超出缓存范围,则加载相应的日志文件
354
  self.load_logs(from_timestamp=from_timestamp, to_timestamp=to_timestamp)
355
  if self.dataframe_refresh_needed:
 
349
  ) + timedelta(days=1)
350
  to_timestamp = to_datetime.isoformat(timespec="microseconds")
351
 
352
+ print(f"[refresh] Starting to load logs from {from_date} to {to_date}")
353
  # 如果查询范围超出缓存范围,则加载相应的日志文件
354
  self.load_logs(from_timestamp=from_timestamp, to_timestamp=to_timestamp)
355
  if self.dataframe_refresh_needed: