From owner-freebsd-stable Fri Jan 18 8:15:19 2002 Delivered-To: freebsd-stable@freebsd.org Received: from hotmail.com (oe67.law12.hotmail.com [64.4.18.202]) by hub.freebsd.org (Postfix) with ESMTP id 1C00D37B404 for ; Fri, 18 Jan 2002 08:14:52 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 18 Jan 2002 08:14:48 -0800 X-Originating-IP: [24.20.227.61] From: "Lawrence Sica" To: , "Sergei Vyshenski" References: <5.1.0.14.2.20020118121711.00a72870@vivaldi.pn.sinp.msu.ru> Subject: Re: newsyslog stops logging of apache Date: Fri, 18 Jan 2002 08:14:48 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 18 Jan 2002 16:14:48.0569 (UTC) FILETIME=[40519E90:01C1A03B] Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Sergei Vyshenski" To: 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