Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2002 08:14:48 -0800
From:      "Lawrence Sica" <lomifeh@hotmail.com>
To:        <freebsd-stable@freebsd.org>, "Sergei Vyshenski" <svysh@pn.sinp.msu.ru>
Subject:   Re: newsyslog stops logging of apache
Message-ID:  <OE67WEaK3gPydeYRhSO0001772f@hotmail.com>
References:  <5.1.0.14.2.20020118121711.00a72870@vivaldi.pn.sinp.msu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message -----
From: "Sergei Vyshenski" <svysh@pn.sinp.msu.ru>
To: <freebsd-stable@freebsd.org>
Sent: Friday, January 18, 2002 1:25 AM
Subject: newsyslog stops logging of apache


> 4.5-PRERELEASE with fresh port collection, apache-1.3.22_7.
>
> As soon as newsyslog turns over file /var/log/httpd-access.log,
> logging to this file stops despite otherwise normal operation.
> No such effect with a file /var/log/httpd-error.log.
>
> All this started a month ago with my weekly tracing of the stable branch.
> Updating of apache port did not help.
>
> Thank you in advance for any comment,
> Sergei
>
Apache has always been very picky about log rotation.  Your best bet is to
have a script kill it and restart it after the rotation.  If apache is
trying to write to the log as you rotate it you may not get clean logs.
They addressed the problem many moons ago but I've seen it still crop up
from time to time.

HTH
--Larry


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OE67WEaK3gPydeYRhSO0001772f>