Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2005 01:51:24 +0100
From:      Holger Kipp <hk@alogis.com>
To:        Gerald de la Pascua <gerald@homes-on-line.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Rotating web server logs without restarting Apache
Message-ID:  <20051126005124.GA84800@intserv.int1.b.intern>
In-Reply-To: <1bcf5ef90511250909k3f645678nc432bef3f7246622@mail.gmail.com>
References:  <200511250845.43542.distro.watch@msa.hinet.net> <4386FF87.9070506@pathcom.com> <1bcf5ef90511250628l6da1a5ex863f1feed8faaedb@mail.gmail.com> <20051125145133.GA74302@intserv.int1.b.intern> <1bcf5ef90511250909k3f645678nc432bef3f7246622@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 25, 2005 at 05:09:25PM +0000, Gerald de la Pascua wrote:
> loose entries?  what in the window between the copy and the restart?

Yes. 

> would the scheme you suggest work with individual logfiles for individual
> domains?

You can use the CustomLog directive per virtual server. You could also
set environment variables depending on the request and use that to
log to different files, eg to ignore local referreres etc.

You might find the man page for CustomLog worth reading, too:

http://httpd.apache.org/docs/1.3/mod/mod_log_config.html#customlog
http://httpd.apache.org/docs/2.0/mod/mod_log_config.html#customlog

Regards,
Holger Kipp
alogis AG, Berlin



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