melguin has asked for the wisdom of the Perl Monks concerning the following question:
I am debugging a simple perl program on a Solaris box that includes a small section that does about the same thing as newsyslog (i.e. checks if a log file has reached a max size, if so it renames it, creates a new one and sends a SIGHUP to syslogd which makes syslogd write to the new file instead of the renamed one). However on some systems, under some configurations, this doesn't work correctly due to the fact that syslogd is ignoring the SIGHUP.
So I'm trying to find another way to keep the syslog file under a certain size, while moving what's already been logged in other files. Unfortunately, any log loss is unacceptable. Any ideas, pointers, etc?
thanks.
melguin.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: am coming to hate syslog
by bluto (Curate) on Nov 09, 2001 at 01:25 UTC | |
|
Re: am coming to hate syslog
by drinkd (Pilgrim) on Nov 09, 2001 at 19:26 UTC |