From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E2OAV-0000sB-IM for garchives@archives.gentoo.org; Tue, 09 Aug 2005 07:04:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j797317L004678; Tue, 9 Aug 2005 07:03:01 GMT Received: from wdscexfe02.sc.wdc.com (wdscexfe02.sc.wdc.com [129.253.170.52]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7972xOd018367 for ; Tue, 9 Aug 2005 07:03:00 GMT Received: from neuromancer.home.net ([129.253.107.157]) by wdscexfe02.sc.wdc.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 9 Aug 2005 00:03:25 -0700 Received: from neuromancer.home.net (neuromancer.home.net [127.0.0.1]) by neuromancer.home.net (8.13.4/8.13.4) with ESMTP id j7973IPa007867 for ; Tue, 9 Aug 2005 15:03:18 +0800 Subject: Re: [gentoo-server] Apache2 logs From: Ow Mun Heng To: gentoo-server@lists.gentoo.org In-Reply-To: <42F7CE47.5090602@bellsouth.net> References: <200508082053.j78Kric7021900@robin.gentoo.org> <42F7CE47.5090602@bellsouth.net> Content-Type: text/plain Date: Tue, 09 Aug 2005 15:03:16 +0800 Message-Id: <1123570996.32084.34.camel@neuromancer.home.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@gentoo.org Reply-to: gentoo-server@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Aug 2005 07:03:26.0322 (UTC) FILETIME=[705C9520:01C59CB0] X-Archives-Salt: 7518aeef-f93f-4317-9cca-dabe4f8d1170 X-Archives-Hash: d35d6eaa66500395a95d0eb3d9a5a4bd On Mon, 2005-08-08 at 17:27 -0400, david wrote: > Sean Wells wrote: > > >I have the following options turned on in mine: > > > >create > >compress > >notifempty > >nomail > >noolddir > >/var/log/apache2/*_log { > >daily > >rotate 7 > >sharedscripts > >postrotate > >/etc/init.d/apache2 reload >/dev/null # this makes sure apache doesn't > >continue writing to the old logs > >endscript > >} Mine /var/log/apache2/*log { missingok notifempty sharedscripts postrotate /bin/kill -USR1 `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true endscript } -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 15:03:01 up 3 days, 1:38, 9 users, load average: 1.43, 0.97, 0.59 -- gentoo-server@gentoo.org mailing list