From owner-freebsd-stable Sat Dec 1 18:52:57 2001 Delivered-To: freebsd-stable@freebsd.org Received: from hronir.scardini.com (dsl-209-162-215-176.easystreet.com [209.162.215.176]) by hub.freebsd.org (Postfix) with ESMTP id C622F37B405 for ; Sat, 1 Dec 2001 18:52:54 -0800 (PST) Received: from tlon.lan.scardini.com (tlon.lan.scardini.com [192.168.2.2]) by hronir.scardini.com (8.11.6/8.11.6) with ESMTP id fB22qr750589; Sat, 1 Dec 2001 18:52:53 -0800 (PST) (envelope-from chrise@hronir.lan.scardini.com) Received: (from chrise@localhost) by tlon.lan.scardini.com (8.11.6/8.11.6) id fB22qrO91606; Sat, 1 Dec 2001 18:52:53 -0800 (PST) (envelope-from chrise) Date: Sat, 1 Dec 2001 18:52:53 -0800 From: Christopher Elkins To: Leo De Geer Cc: freebsd-stable@freebsd.org Subject: Re: problem with apache log Message-ID: <20011201185253.A65582@tlon.lan.scardini.com> Mail-Followup-To: Leo De Geer , freebsd-stable@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from leo@ktv.se on Sat, Dec 01, 2001 at 09:00:31PM +0100 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 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 > > after turn over I need to restart the apache to get it to log in the > new file You need to add the file containing Apache's pid, i.e., something like the following: /var/log/httpd/httpd-access.log 644 7 * @T10 Z /var/run/httpd.pid -- Christopher Elkins To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message