Limit number of log files to 7
Posted: Wed Oct 07, 2020 7:18 am
I have set my LogSwitchCycle to daily and currently I have not configured any logrotate/cron jobs to limit the log files and they keep increasing everyday.
Is it possible to limit the daily log files to 7 (so that it is rotated weekly) without logrotate/cron?
Is it possible to limit the daily log files to 7 (so that it is rotated weekly) without logrotate/cron?