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

[建议] 清理数据库日志建议增加周期限制功能 #910

Open
redzl opened this issue Jun 5, 2024 · 1 comment
Open

[建议] 清理数据库日志建议增加周期限制功能 #910

redzl opened this issue Jun 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@redzl
Copy link

redzl commented Jun 5, 2024

背景与遇到的问题

目前我们的硬盘空间有限,在postgresql 占用了大量磁盘空间的情况下,我们考虑清除部分日志来腾出空间。但是通过检索文档后发现,只有 “docker exec safeline-mgt cleanlogs“命令可以满足我们的需求,但是这个命令是清除所有数据库日志。

建议的解决方案

希望能增加删除X天之前日志的一个功能,比如 docker exec safeline-mgt cleanlogs 7,这里的7代表删除7天之前的日志。

@Lorna0
Copy link
Collaborator

Lorna0 commented Jun 17, 2024

@Lorna0 Lorna0 added the enhancement New feature or request label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants