[TriLUG] Question about logs

Jaimie.Livingston at haht.com Jaimie.Livingston at haht.com
Wed Jun 25 19:28:49 EDT 2003


If I wanted to have log rotation for a generic service controlled by an
individual logrotate.d script, but that service doesn't already have it's
own logrotate script (and doesn't have one installed by rpm), can I create a
control script for it by just creating a script called servicename with the
options I want and drop that file into /etc/logrotate.d?

Also, I'd like to set a size limit on my /var/log/maillog* files, but am not
quite sure if I can, since there are references to the maillog files already
in /etc/logrotate.d/syslog. Can the maillog be controlled separately from
the configuration in /etc/logrotate.d/syslog?

Jaimie



More information about the TriLUG mailing list