Ubuntu: How To rotate syslog daily?



Question:

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?


Solution:1

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


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »