From owner-freebsd-questions Sat Jan 12 6: 9:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by hub.freebsd.org (Postfix) with ESMTP id A8BAF37B41C for ; Sat, 12 Jan 2002 06:09:10 -0800 (PST) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.2) with SMTP id BAA19454; Sun, 13 Jan 2002 01:08:55 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 13 Jan 2002 01:08:55 +1100 (EST) From: Ian Smith To: Sheldon Hearn Cc: questions@FreeBSD.ORG Subject: Re: Apache 1.3.x log rotation In-Reply-To: <1555.1010665296@axl.seasidesoftware.co.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Thu, 10 Jan 2002, Sheldon Hearn wrote: > On Thu, 10 Jan 2002 06:08:52 +1100, Ian Smith wrote: > > > The below in newsyslog.conf works fine here for both httpd and error > > logs for main and virtual hosts - Apache 1.3.3 anyway. Edited a tad: > > For some definition of "works" anyway. :-) Ok :-) We only run some small sites and i've never noticed any problems with this (and do keep a close eye on logs) but thanks, point taken. > > Newsyslog sending SIGHUP, as above works here .. > > Again, that depends on what "works" means, particularly if you use > buffered log writing. > > See this article for more details: > > http://www.freebsddiary.org/rotatelogs.php From what I could gather from that, adding SIGUSR1 (30) to the newsyslog entries will ensure graceful shutdown of any active children - right? Thanks, Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message