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] Website log cleaning #7744

Open
QYG2297248353 opened this issue Jan 20, 2025 · 2 comments
Open

[Feature] Website log cleaning #7744

QYG2297248353 opened this issue Jan 20, 2025 · 2 comments
Assignees

Comments

@QYG2297248353
Copy link

1Panel Version

v1.10.22-lts

Please describe your needs or suggestions for improvements

Image

The more frequently a site is visited, the larger the log file.

Image

The larger the log, the slower the website log will open

Please describe the solution you suggest

Support for site log cleanup policies in global and site basic settings
For example, by month, week, or day, or log file size

Additional Information

No response

@QYG2297248353
Copy link
Author

进行网站备份时,发现备份文件特别大(大多数为反代应用,不应该这么大),经过排查,备份时,会同时压缩备份网站日志,3G日志文件最终也有500MB的压缩文件,如果允许1份以上的备份,空间那可是岌岌可危🙈

@wanghe-fit2cloud
Copy link
Member

感谢反馈,你可以添加一个 切割网站日志 类型的计划任务,支持用户自定义执行周期。

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

2 participants