Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 38960 invoked from network); 21 Nov 2008 16:41:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Nov 2008 16:41:22 -0000 Received: (qmail 28438 invoked by uid 500); 21 Nov 2008 16:41:22 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 28315 invoked by uid 500); 21 Nov 2008 16:41:22 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 28242 invoked by uid 99); 21 Nov 2008 16:41:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2008 08:41:21 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of info@ebbehjorth.dk designates 86.58.167.132 as permitted sender) Received: from [86.58.167.132] (HELO mail01.apz.dk) (86.58.167.132) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2008 16:39:57 +0000 Received: from localhost (localhost [127.0.0.1]) by mail01.apz.dk (Postfix) with ESMTP id C1C071CCA9 for ; Fri, 21 Nov 2008 17:40:09 +0100 (CET) X-Virus-Scanned: amavisd-new at apz.dk Received: from mail01.apz.dk ([127.0.0.1]) by localhost (mail01.apz.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3F2qi4VyGAOp for ; Fri, 21 Nov 2008 17:40:08 +0100 (CET) Received: by mail01.apz.dk (Postfix, from userid 58) id 8748B1CC83; Fri, 21 Nov 2008 17:40:08 +0100 (CET) X-Spam-SCL: 1 X-Spam-DCC: HP_X86_64_4CPU mail01.apz.dk 1245; Body=1 Fuz1=1 Fuz2=1 Received: from 86.58.167.132 (localhost [127.0.0.1]) by mail01.apz.dk (Postfix) with ESMTP id 456AE1CC19 for ; Fri, 21 Nov 2008 17:40:07 +0100 (CET) Received: from 87.61.25.22 (SquirrelMail authenticated user info@ebbehjorth.dk) by 86.58.167.132 with HTTP; Fri, 21 Nov 2008 17:40:07 +0100 (CET) Message-ID: <895638572edc3872fb9482214fee870d.squirrel@86.58.167.132> In-Reply-To: <4926E14D.4010506@ice-sa.com> References: <1227274519.10955.23.camel@localhost> <4926E14D.4010506@ice-sa.com> Date: Fri, 21 Nov 2008 17:40:07 +0100 (CET) From: "Ebbe Hjorth" To: users@httpd.apache.org Reply-To: info@ebbehjorth.dk User-Agent: SquirrelMail/1.4.16 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] montly log rotation > Tom Evans wrote: >> On Fri, 2008-11-21 at 13:30 +0100, Ebbe Hjorth wrote: >>> Hi, >>> >>> I run apache 2.2 on a FreeBSD v7.0 machine, with a lot of virtual >>> hosts, >>> with each their own access and error log. >>> >>> I have been looking at rotatelogs so i dont have to restart/reload >>> apache, >>> but the rotatelogs only rotate logs on a time interval, or logs size >>> count. >>> >>> I would like to rotate all the logs on ex. the last nigth in a month, >>> so i >>> get to logs for each month, for each virtual host, and then delete the >>> old >>> logs when they are a year old. >>> >>> I need help on this quest. >>> >>> >>> Thank you in advance. >>> >>> Best regards, Ebbe, Denmark >>> >> >> We use cronolog for this. http://cronolog.org/ >> > Under Linux, there is also a utility called "logrotate" (a separate > program which will run from time to time under cron, and rotate a choice > of logfiles, dictated by its configuration files). > We use it on all our Apache2 sites, works very nicely. > Yeah i tried that, but the result wasnt what i am looking for, it got really wierd. / Ebbe --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org