From owner-freebsd-stable Sun Dec 2 14:50:32 2001 Delivered-To: freebsd-stable@freebsd.org Received: from bamse.ktv.se (bamse.ktv.se [195.17.241.138]) by hub.freebsd.org (Postfix) with ESMTP id 04A9737B416 for ; Sun, 2 Dec 2001 14:50:10 -0800 (PST) Received: from ktv1 ([195.17.241.139]) by bamse.ktv.se (8.11.6/8.11.6) with ESMTP id fB2MoOA95777; Sun, 2 Dec 2001 23:50:25 +0100 (CET) (envelope-from leo@ktv.se) Reply-To: From: "Leo De Geer" To: Cc: Subject: SV: problem with apache log Date: Sun, 2 Dec 2001 23:50:22 +0100 Organization: Kristianstad Teknikverkstad Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <20011202234027.A56590@intserv.int1.b.intern> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Disposition-Notification-To: "Leo De Geer" 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 I'm using the line=20 /var/log/httpd/httpd-access.log 644 30 * @T02 Z /var/run/httpd.pid 1 and its working as it should now. And I think that the reason to not compress the log is depending on what analyzer program you use. I'm using summary and it's reading compressed files.=20 Regards leo =20 Kristianstad Teknikverkstad www.ktv.se www.teknikshoppen.nu =20 -----Ursprungligt meddelande----- Fr=E5n: Holger Kipp [mailto:hk@intserv.int1.b.intern]=20 Skickat: den 2 december 2001 23:40 Till: Nuno Teixeira Kopia: Christopher Elkins; Leo De Geer; freebsd-stable@FreeBSD.ORG =C4mne: Re: problem with apache log On Sun, Dec 02, 2001 at 10:16:18PM +0000, Nuno Teixeira wrote: > On Sat, Dec 01, 2001 at 06:52:53PM -0800, Christopher Elkins wrote: > : On Sat, Dec 01, 2001 at 09:00:31PM +0100, Leo De Geer wrote: > : >=20 > : > Il get problem whit the access log every time the log turns over. I'm > : > using the newsyslog.conf and the line fore the log is > : >=20 > : > /var/log/httpd/httpd-access.log 644 7 * @T10 > : > Z > Apache logs are a litle exception to newsyslog. You can't compress this=20 > logs, you need to do in newsyslog.conf something like: > =20 > ... > /var/log/apache/httpd-error.log 640 3 3000 * B /var/run/httpd.pid 30 > /var/log/apache/httpd-access.log 640 7 100000 * B /var/run/httpd.pid 30 > ... > =20 > where 30 is a SIGHUP signal. Hi, according to man newsyslog, SIGHUP is the default, so "30" is not needed. Furthermore, compression _does_ work over here without any problems. Regards, Holger Kipp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message