1Panel-dev / 1Panel-dev/1Panel
[Bug] Log Audit - Clearing website logs disables real-time tracking
Open
@lan-yonghui is already working on this.
Since Jun 16, 2026.
type: optimization
- Dominant language
- Go
- Stars
- 37k
- Forks
- 3.4k
- Avg merge
- 9h 16m
- Merged PRs (30d)
- 105
Description
Contact Information
No response
1Panel Version
v2.1.12
Problem Description
在 日志审计 → 网站日志 中,开启「日志追踪」后执行「清空日志」,追踪功能将会失效。切换到其他站点再切换回来,虽然能刷新一次当前日志,但追踪仍不会恢复,只有手动刷新整个页面追踪才能重新正常工作。
Steps to Reproduce
- 进入「日志审计」→「网站日志」
- 选择任意站点,开启「日志追踪」
- 在追踪开启状态下,点击「清空日志」
- 观察追踪状态 —— 追踪失效,切换站点也无法恢复,需手动刷新页面
The expected correct result
执行「清空日志」后,日志追踪应保持开启状态,继续实时追踪后续日志输出,无需手动刷新页面。
Related log output
Additional Information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.