From owner-freebsd-questions Wed Jan 9 2: 8:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id DBE0037B405 for ; Wed, 9 Jan 2002 02:08:33 -0800 (PST) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.33 #1) id 16OFgs-000DaX-00; Wed, 09 Jan 2002 12:10:38 +0200 From: Sheldon Hearn To: Aidan Skinner Cc: freebsd-questions@FreeBSD.org Subject: Re: Apache 1.3.x log rotation In-reply-to: Your message of "Tue, 08 Jan 2002 17:37:50 GMT." Date: Wed, 09 Jan 2002 12:10:38 +0200 Message-ID: <52236.1010571038@axl.seasidesoftware.co.za> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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