I want to rotate my syslog daily... How do I do this? How to check whether log rotate is working? How to make it run daily? By default, does Ubuntu Server run logrotate daily? Or do I have to set it after installation?
82 Answers
You can change settings in /etc/logrotate.d/rsyslog but for me it's daily by default.
On my system, I found /etc/logrotate.d/rsyslog.disabled instead of /etc/logrotate.d/rsyslog. After renaming it to /etc/logrotate.d/rsyslog, things are working fine.