[rsyslog] central logserver log rotation

Johnny Tan linuxweb at gmail.com
Thu Mar 27 02:28:46 CET 2008


Thanks to Rainer, I've got my shiny new central log server 
up & running. I'd like to rotate the logs on there.

If I've got a separate directory for each host, though 
(i.e., /var/log/rsyslog/%HOSTNAME%), how can I do this?

Does something like this work with logrotate:

/var/log/rsyslog/*/* {
     weekly
     notifempty
     missingok
}


What are people doing for logrotation on their CENTRAL 
logging server?

johnn


More information about the rsyslog mailing list