diff --git a/graylog_ops/watch.py b/graylog_ops/watch.py index 6eeb270..2bb4a44 100644 --- a/graylog_ops/watch.py +++ b/graylog_ops/watch.py @@ -3238,8 +3238,9 @@ def run(ctx, args): print("检测缺口 %.1f 小时,超过自动补测上限 %d 小时,已跳过" % (gap / 3600.0, max_gap // 3600), flush=True) elif gap > threshold: - print("检测缺口 %.1f 小时,后台自动补测 %s → %s" - % (gap / 3600.0, last_dt.strftime("%m-%d %H:%M"), + print("检测缺口 %.1f 小时,后台自动补测(本地时间)%s → %s" + % (gap / 3600.0, + last_dt.astimezone().strftime("%m-%d %H:%M"), now_dt.astimezone().strftime("%m-%d %H:%M")), flush=True) threading.Thread(target=auto_backfill_worker,