Skip to content

[Feature] How to limit the log size of openresty? Can you choose to cut or retain it a few days ago #8179

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

Open
cktk opened this issue Mar 18, 2025 · 1 comment

Comments

@cktk
Copy link

cktk commented Mar 18, 2025

1Panel Version

v1.10.27-lts

Please describe your needs or suggestions for improvements

在openresty安装目录下的log目录中的日志文件是否可以选择保留7天或者30天 包括 error.log access.log 这两个日志
我尝试在计划任务中选择切割网站日志 但是发现不会影响这个日志文件

Please describe the solution you suggest

No response

Additional Information

No response

@wanghe-fit2cloud wanghe-fit2cloud changed the title [Feature] 如何限制openresty的日志大小是否可以选择切割或者保留几天之前的 [Feature] How to limit the log size of openresty? Can you choose to cut or retain it a few days ago Mar 18, 2025
@wanghe-fit2cloud wanghe-fit2cloud added this to the v2.x Backlog milestone Mar 18, 2025
@wanghe-fit2cloud
Copy link
Member

感谢反馈,我们将在后续版本支持上述需求:
1. 切割网站日志 类型的计划任务,将包含 OpenResty 日志。
2. 计划任务列表将支持查看 切割网站日志 类型任务的日志备份文件数量,并提供删除文件的功能。

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