From owner-freebsd-questions@FreeBSD.ORG Wed Mar 3 06:31:38 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC6B916A4CE for ; Wed, 3 Mar 2004 06:31:38 -0800 (PST) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAC0543D1F for ; Wed, 3 Mar 2004 06:31:37 -0800 (PST) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.30 #3 (FreeBSD 4.9)) id 1AyXPK-0007LD-87 by authid ; Wed, 03 Mar 2004 17:31:34 +0300 Date: Wed, 3 Mar 2004 17:31:34 +0300 From: Odhiambo Washington To: fbsd_user Message-ID: <20040303143134.GC92432@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , fbsd_user , "freebsd-questions@FreeBSD. ORG" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.5.1i (2003-11-05) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.5.1i cc: "freebsd-questions@FreeBSD. ORG" Subject: Re: apache log files rotation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 14:31:38 -0000 * fbsd_user [20040303 17:14]: wrote: > Can apache logs be rotated by /etc/newsyslog.conf? > If not, how is it normally done? You may need to send apache SIGUSR1 (signal 30) to tell it to reopen its logfiles. I do this with squid but haven't tried with apache.. There is no harm in trying, you know? It wouldn't blow your box ;) /path/to/logfile www:www 644 7 * @T00 J /path/to/apache/pid 30 -Wash http://www.netmeister.org/news/learn2quote.html -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ One of the lessons of history is that nothing is often a good thing to do and always a clever thing to say. -- Will Durant