Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE]网站日志的切割 #1342

Closed
Felmon opened this issue Jun 12, 2023 · 2 comments
Closed

[FEATURE]网站日志的切割 #1342

Felmon opened this issue Jun 12, 2023 · 2 comments

Comments

@Felmon
Copy link

Felmon commented Jun 12, 2023

1Panel 版本

1.3.2

请描述您的需求或者改进建议

目前网站日志大于10m就无法直接查看了,我看1.3版本加了容器日志切割而网站日志切割却是计划任务?
能否和容器日志一样自动切割呢?
且查看日志时默认是 last line ≤10m的日志

请描述你建议的实现方案

No response

附加信息

No response

@wanghe-fit2cloud
Copy link
Member

感谢反馈,我们会在后续版本考虑支持网站日志自动切割功能。

@Mystery00
Copy link
Contributor

Mystery00 commented Jun 26, 2023

感谢反馈,我们会在后续版本考虑支持网站日志自动切割功能。

目前网站日志切割的定时任务依旧存在问题:

  1. access日志超大时压缩失败(看着是 mholt/archiver 上游的问题)
  2. 其他未知情况切割失败(系统日志中没有具体错误信息,猜测可能与网站名称特殊符号有关系)

image

为了进一步分析问题,我增加了一点详细错误信息打印,详情请见 #1458

@wanghe-fit2cloud wanghe-fit2cloud added this to the v1.5.0 milestone Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants