Date: Thu, 15 Apr 2010 08:30:30 +0200 From: "Zbigniew Szalbot" <z.szalbot@lcwords.com> To: freebsd-questions@freebsd.org Subject: Log rotation / newsyslog / apache not reloaded Message-ID: <4BC6B286.16120.2714AA3@z.szalbot.lcwords.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BC6B286.16120.2714AA3>