1Panel icon indicating copy to clipboard operation
1Panel copied to clipboard

[Bug] Log Audit - Clearing website logs disables real-time tracking

Open djx30103 opened this issue 6 months ago • 1 comments

Contact Information

No response

1Panel Version

v2.1.12

Problem Description

在 日志审计 → 网站日志 中,开启「日志追踪」后执行「清空日志」,追踪功能将会失效。切换到其他站点再切换回来,虽然能刷新一次当前日志,但追踪仍不会恢复,只有手动刷新整个页面追踪才能重新正常工作。

Steps to Reproduce

  1. 进入「日志审计」→「网站日志」
  2. 选择任意站点,开启「日志追踪」
  3. 在追踪开启状态下,点击「清空日志」
  4. 观察追踪状态 —— 追踪失效,切换站点也无法恢复,需手动刷新页面

The expected correct result

执行「清空日志」后,日志追踪应保持开启状态,继续实时追踪后续日志输出,无需手动刷新页面。

Related log output


Additional Information

No response

djx30103 avatar May 18 '26 01:05 djx30103

感谢反馈,我们会在后续版本持续优化。

wanghe-fit2cloud avatar May 18 '26 09:05 wanghe-fit2cloud