1Panel-dev / 1Panel-dev/1Panel
[Bug] The downloaded log file is empty and the log cannot be previewed properly
@zhengkunwang223 is already working on this.
Since Jun 16, 2026.
- Dominant language
- Go
- Stars
- 37k
- Forks
- 3.4k
- Avg merge
- 9h 16m
- Merged PRs (30d)
- 105
Description
Contact Information
liuhaiyi@yicheng.bj.cn
1Panel Version
社区版 v2.1.10
Problem Description
功能位置:网站->运行环境->Python->点击某个程序的日志
程序日志比较多,我们设置成[最近1天],条数[所有]时,会开始一条一条滚动出来。在此时,点击上边的“下载”按钮,设定[最近1天],条数[所有]时确定。下载出来的.log文件为空,没有任何东西,这是很严重的bug。
有时甚至确定下载后,很久都不会触发下载文件,并且同时日志预览原本快速的一条一条滚动出来会变得特别缓慢的一条条跳出来。
有时打开日志后,切换时间和条数设置,下面的日志不会一条一条滚动出来,而是日志区域直接黑屏,没有任何东西。
Steps to Reproduce
功能位置:网站->运行环境->Python->点击某个程序的日志
程序日志比较多,我们设置成[最近1天],条数[所有]时,会开始一条一条滚动出来。在此时,点击上边的“下载”按钮,设定[最近1天],条数[所有]时确定。下载出来的.log文件为空,没有任何东西,这是很严重的bug。
有时甚至确定下载后,很久都不会触发下载文件,并且同时日志预览原本快速的一条一条滚动出来会变得特别缓慢的一条条跳出来。
有时打开日志后,切换时间和条数设置,下面的日志不会一条一条滚动出来,而是日志区域直接黑屏,没有任何东西。
The expected correct result
No response
Related log output
Additional Information
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.