From owner-freebsd-stable Sun Dec 2 14:40:54 2001 Delivered-To: freebsd-stable@freebsd.org Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by hub.freebsd.org (Postfix) with ESMTP id BD3F937B419 for ; Sun, 2 Dec 2001 14:40:42 -0800 (PST) Received: (from hk@localhost) by alogis.com (8.11.1/8.9.3) id fB2MeRv57313; Sun, 2 Dec 2001 23:40:27 +0100 (CET) (envelope-from hk) Date: Sun, 2 Dec 2001 23:40:27 +0100 From: Holger Kipp To: Nuno Teixeira Cc: Christopher Elkins , Leo De Geer , freebsd-stable@FreeBSD.ORG Subject: Re: problem with apache log Message-ID: <20011202234027.A56590@intserv.int1.b.intern> Reply-To: Holger.Kipp@alogis.com References: <20011201185253.A65582@tlon.lan.scardini.com> <20011202221618.GB438@gw.tex.bogus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20011202221618.GB438@gw.tex.bogus>; from nuno.mailinglists@pt-quorum.com on Sun, Dec 02, 2001 at 10:16:18PM +0000 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 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: > : > > : > 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 > : > > : > /var/log/httpd/httpd-access.log 644 7 * @T10 > : > Z > Apache logs are a litle exception to newsyslog. You can't compress this > logs, you need to do in newsyslog.conf something like: > > ... > /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 > ... > > 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