Cliff You can rotate the vcld log without having to restart the daemon. Here is the entry I have in my /etc/logrotate.conf file:
/var/log/vcld.log { size 200M rotate 6 copytruncate } The copytruncate directive truncates the original log file in place after creating a copy, so the daemon does not have to be restarted. It has worked well for me. Mike Waldron Systems Specialist ITS Research Computing University of North Carolina at Chapel Hill CB #3420, ITS Manning, Rm 2509 919-962-9778 -----Original Message----- From: Clifton B Wood [mailto:clifton.w...@morgan.edu] Sent: Wednesday, July 21, 2010 3:47 PM To: vcl-dev@incubator.apache.org Subject: VCL.log and Logrotate I've tried getting this to work with no luck. It seems that VCL never closes the log file and there doesn't look to be any way to do so without restarting VCL. The big question then is: when is it safe to restart VCLd? Most programs use SIGHUP to reread-config files, and also reset log files. VCLd does not do this, since HUNTSMAN() is linked to $SIG{HUP} and that effectively ends VCLd. What would be a good way to reset the log files in both VCLd and any forked children? If I can come up with a way to do this, would the VCL project be interested in a patch? - Cliff