I want my log rotate to delete the log file which are older than 7 days

后端 未结 0 414
梦毁少年i
梦毁少年i 2021-02-01 00:59

I want logrotate to delete the log file which is older than 7 days. I have tried with maxage 7 but by not mentioning the rotate(count) keeps only one log after rotation, Again I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题