Hi everybody,
I'm working on the finishing touches to a server program I've just written
and one of the things it needs to log information to a log file. I'm going
to log to /var/log/file.log and to manage the growth I'm going to add this
log file to the newsyslog.conf file. However, I'd like
On Fri, Jan 05, 2007 at 12:04:56PM -0700, Andrew Falanga wrote:
Basically, I'm installing a signal handler for SIGHUP to do the following:
reset the put pointer to the beginning of the file;
flush any data that may be in the buffer;
close the file;
reopen file;
Does this sound