Skip to content

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

@djx30103

Description

@djx30103

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

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions