Log rotation / newsyslog / apache not reloaded
Zbigniew Szalbot
z.szalbot at lcwords.com
Thu Apr 15 06:49:36 UTC 2010
Hello,
I have the following lines in my /etc/newsyslog.conf
/var/log/*-access.log 644 30 * @T00 JCG
/var/log/*-error.log 644 30 * @T00 JCG
Man newsyslog.conf says:
If this field (signal_number) is not present, then a SIGHUP signal
will be sent.
My problem is that while the apache logs are rotated as specified in
the newsyslog.conf file, the apache server is not reloaded which
causes it to write log entries to the now compressed files.
Which flag should I specify to make sure apache is reloaded during
log rotation? Thank you very much in advance!
Zbigniew Szalbot
More information about the freebsd-questions
mailing list