Rotating web server logs without restarting Apache
hk at alogis.com
Sat Nov 26 00:51:41 GMT 2005
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?
> would the scheme you suggest work with individual logfiles for individual
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:
alogis AG, Berlin
More information about the freebsd-stable