Richie Crews wrote:

>I added the following lines to my /etc/logrotate.conf for each log file I
>had to deal with
>
>/usr/local/apache/logs/actionconference_log {
>        copytruncate
>        rotate 4
>        weekly
>        errors [EMAIL PROTECTED]
>        compress
>        postrotate
>        /usr/bin/killall -HUP httpd
>        endscript
>}
>  
>

That'll work, too, but it'll block a smooth upgrade path in the future.
The next time logrotate is updated, you'll have to either examine
logrotate.conf.rpmnew to make sure there aren't changes you need to
backport, or you'll have to pull your own mods out of
logrotate.conf.rpmsave and put them into the config file that rpm created.

Putting your own rules in a file in /etc/logrotate.d/ should prevent
that from ever being a concern.





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to