Spaces:
Running
Running
优化日志加载提示,更新为显示加载的日期范围
Browse files- 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("[
|
| 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:
|