8

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?

THpubs
  • 2,815

2 Answers2

13

You can change settings in /etc/logrotate.d/rsyslog but for me it's daily by default.

int_ua
  • 8,892
4

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.

Jeff
  • 1,724