Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Dec 2001 18:52:53 -0800
From:      Christopher Elkins <christopherelkins@yahoo.com>
To:        Leo De Geer <leo@ktv.se>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: problem with apache log
Message-ID:  <20011201185253.A65582@tlon.lan.scardini.com>
In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAASrpIvj67bUafx/CGzD1RPMKAAAAQAAAAOrglsMqqP0%2B0pkg6d2X6DQEAAAAA@ktv.se>; from leo@ktv.se on Sat, Dec 01, 2001 at 09:00:31PM %2B0100
References:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAASrpIvj67bUafx/CGzD1RPMKAAAAQAAAAOrglsMqqP0%2B0pkg6d2X6DQEAAAAA@ktv.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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