1Panel-dev / 1Panel-dev/1Panel

[Bug] The downloaded log file is empty and the log cannot be previewed properly

Open
#12,602 1 comment 0 reactions 2 assignees View on GitHub

@zhengkunwang223 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

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

wb_c02033_8835-20260425180916.log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.