How to achieve syslog rotation in red hat linux?
Hi All,
I have configured /etc/syslog.conf for writing user level log messages, and it is working fine. The line which i entered is: user.* /home/shekhar/obj/myjob.log But the log file keeps increasing. I would like to rotate the log file when it reaches 100Kb. How do i do that in red hat linux ? Looking forward for the kind response. Thanks |
"man logrotate"
See /etc/logrotate.conf or /etc/logrotate.d/* |
All times are GMT -5. The time now is 05:26 AM. |