4

RHEL5 syslog facility Local6 Logrotate configuration Issue

view full story
linux-howto

http://www.linuxquestions.org – Hi, I am using syslog Facility6 for the logs generated by an application. I have appended the following line in the /etc/syslog.conf local6.* /var/log/app.log And my application logs are successfully getting created in /var/log/app.log. So no issues with syslog. Here is what I further need to do: I need to rotate these logs (/var/log/app.log) daily or whenever the size of the file exceeds 1MB. Also I would like to keep 60 log files. I am not sure about configuring the logrotation based on the above criterion for syslog local6.* logs in RHEL5. Thanks in advance ! Kamal (HowTos)