From owner-freebsd-questions@FreeBSD.ORG Sat Mar 3 13:26:40 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C39C16A400 for ; Sat, 3 Mar 2007 13:26:40 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.224]) by mx1.freebsd.org (Postfix) with ESMTP id 08DA813C461 for ; Sat, 3 Mar 2007 13:26:39 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so1209947nza for ; Sat, 03 Mar 2007 05:26:39 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AoNgL7Gtn8R5pb313OPuVNGbCP5PtbF77NWAX2tFqpVprFTxDAPwHJo2GF2XJ7YYR3CEAsVbF93TmxmIh9Aciuh74NTKG4hzfRMndtphHRkcJO0/+jjG/RWWYIzLMI6wCEXVdKVGFZ1rry5RTRwQM/VTYFBCcBTm8JHDaTZtdbE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qb947jsbVHxTykKIzcgPpwfTA2oK/GJ2ZvOQWq/eEKBkb+Fq/SG/n3RqusaBX3wtKKH2912u3aLk8/Cc3iYhHBUSl2IFBWvbLUSB5IIBnMOSnp517QJ3PCFt6+XULkoxtM2rtlGERZD0o4m+PMgd5+eW7llPlUAOpT1J2qTOtLE= Received: by 10.64.204.19 with SMTP id b19mr6717459qbg.1172928399297; Sat, 03 Mar 2007 05:26:39 -0800 (PST) Received: by 10.64.210.7 with HTTP; Sat, 3 Mar 2007 05:26:39 -0800 (PST) Message-ID: <226ae0c60703030526r3edae7adm54a8fcb7616dc669@mail.gmail.com> Date: Sat, 3 Mar 2007 08:26:39 -0500 From: "David Robillard" To: peter@placidpublishing.net In-Reply-To: <45E91275.8040102@placidpublishing.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <226ae0c60702151024u6c71d50bn72d54631c33ed32@mail.gmail.com> <45D5FD5B.6030605@placidpublishing.net> <226ae0c60702161146i6ce6b54ayab9e279c9cf28d1@mail.gmail.com> <45E53C8F.8090100@placidpublishing.net> <226ae0c60702280813q288f646bt8fb8fca886716ee4@mail.gmail.com> <45E5FBE1.3030207@placidpublishing.net> <226ae0c60702281513o918561eo54f8eaf906d6a096@mail.gmail.com> <45E7A83C.5090704@placidpublishing.net> <226ae0c60703020954n7068e7eele9f8f7d875a1767@mail.gmail.com> <45E91275.8040102@placidpublishing.net> Cc: FreeBSD Questions Subject: Re: Apache Rotate Logs and Log Rotate. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2007 13:26:40 -0000 On 3/3/07, Peter Pluta wrote: > I see, thanks. Does the shell script you use automatically delete the > original logs after verbalizer or awstats makes it's own? I imagine the > ones those programs use are smaller in size? No, the shell script does not delete any logs. Log rotation and compression is the job of newsyslog. Webalizer creates and maintains his own files which grow slowly over time. How fast they grow depends on how busy your site is and how much data you need to extract from the logs. Try it on one VirtualHost and you'll see. If you like it, then extend your configuration to your other VirtualHosts. Talking about logs, you might want to send them to syslog. Here's a quick article on this topic: http://www.oreillynet.com/pub/a/sysadmin/2006/10/12/httpd-syslog.html Cheers, David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122