Results 1 to 1 of 1
Hello all,
I would like to tell logrotate to rotate my logs monthly, but NEVER delete any logs. Does anyone know how to accomplish this?
For now, I've put a ...
- 03-18-2007 #1Just Joined!
- Join Date
- Mar 2007
- Posts
- 1
logrotate - keep all logs, how?
Hello all,
I would like to tell logrotate to rotate my logs monthly, but NEVER delete any logs. Does anyone know how to accomplish this?
For now, I've put a high number into the conf file (1200 months should do...), but was wondering if there was other solutions
"/var/log/httpd/access.log" /var/log/httpd/error.log {
rotate 1200
sharedscripts
postrotate
/sbin/killall -HUP httpd
endscript
}
thanks from a newbie!


Reply With Quote