Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jan 2002 12:10:38 +0200
From:      Sheldon Hearn <sheldonh@starjuice.net>
To:        Aidan Skinner <aidan@velvet.net>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Apache 1.3.x log rotation 
Message-ID:  <52236.1010571038@axl.seasidesoftware.co.za>
In-Reply-To: Your message of "Tue, 08 Jan 2002 17:37:50 GMT." <Pine.BSO.4.33.0201081735190.3120-100000@crushed.velvet.net> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 08 Jan 2002 17:37:50 GMT, Aidan Skinner wrote:

> > Do I need to use newsyslog(8)'s path_to_pid_file feature to send a
> > SIGHUP to the parent httpd, or should I rather configure httpd to log
> > via syslog(3) in the first place?
> 
> You could SIGHUP httpd, but syslog should also work.

I didn't read the Apache docs closely enough -- syslog(3) only works for
ErrorLog.

> Which one do depends on personal preference I guess, on my webserver I
> SIGHUP because that's how OpenBSD does it out of the box, and I saw no
> reason to change.

Looks like rotatelogs (or some similar pipe command) is the only way to
go. :-(

Ciao,
Sheldon.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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