在运行yugabyte db一段时间后,我发现日志从未被删除。如何配置服务器删除旧日志?
发布于 2020-03-10 18:07:02
目前,YugabyteDB不提供自动删除旧日志的方法。您可以通过在crontab中运行删除旧文件的bash脚本来实现这一点。
示例:
https://askubuntu.com/questions/589210/removing-files-older-than-7-days
Delete files older than specific date in linux
https://askubuntu.com/questions/413529/delete-files-older-than-one-year-on-linux
https://stackoverflow.com/questions/60578145
复制相似问题