On 29/01/08 21:45 -0500, Chris Knadle wrote:
>    The script itself may not need to know about the rotation.  In the 
> logrotate or logrotate.d/ setup you can probably add a postroate command to 
> restart the script after the log rotation to keep the script from continuing 
> to read the old file after a new one has been created.

syslog-ng can do things like make the destination logfile
"/log/$year/$month/$day/$host.log". No external log rotation to fail,
possibly reconfigure every time you add a new server (like I said,
hundreds of them)...
-porkchop
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org          
   
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug                           
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium          
        
  Feb 6 - DBUS
  Mar 5 - Setting up a platform-independent home/small office network using 
Linux

Reply via email to