Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 77077 invoked from network); 1 Mar 2007 16:23:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2007 16:23:52 -0000 Received: (qmail 59680 invoked by uid 500); 1 Mar 2007 16:23:54 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 59654 invoked by uid 500); 1 Mar 2007 16:23:54 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 59631 invoked by uid 99); 1 Mar 2007 16:23:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 08:23:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [68.142.207.112] (HELO web32015.mail.mud.yahoo.com) (68.142.207.112) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 01 Mar 2007 08:23:41 -0800 Received: (qmail 39705 invoked by uid 60001); 1 Mar 2007 16:23:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=UJgARmr9sNGStP8eN5SrGx38AqSyI8+b5MvANQjD9dbuiAerwiCGHPmx2hypRiLfBPnN62MZGi9gYhpxack8PsTl1op7cdLKEsFjeSzYoJUtmFIY3oVeO/OR1agP8ZwylIvX7uxQ9/bJdxwxMoMO2MiaeXHGBvo4xh255kWG9VY=; X-YMail-OSG: zGyCE9IVM1lzQJ0G9dqfpmzaF.o2Du23h4RFMwhv9PF620Vgy4YkjcTE5HBd55zZihEIUh4l7hLI9TYeDpI8uOqEwMp6aisIGtAT8Vh0pq7F7P9G6baqGEBSim.nc2_KMc.yB_dJ6nQEtZ_f5wTTuWFmhpjmrTe30qRC.FWR8WzyYw64jIYXj8gH.Ozz3Z2I Received: from [66.46.85.2] by web32015.mail.mud.yahoo.com via HTTP; Thu, 01 Mar 2007 08:23:17 PST X-Mailer: YahooMailRC/468 YahooMailWebService/0.6.132.8 Date: Thu, 1 Mar 2007 08:23:17 -0800 (PST) From: DM Subject: Re: maxBackupIndex with DailyRollingFileAppender To: Log4J Users List MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <810667.36752.qm@web32015.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the response. I guess I'll have to wait for 1.3 then. The follow= ing page on the wiki:=0Ahttp://wiki.apache.org/logging-log4j/DailyRollingFi= leAppender=0A=0Aindicates that somebody has extended DailyRolloingFileAppen= der to include this feature, but I'm not sure if this has been included in = an official release?=0A=0A=0A----- Original Message ----=0AFrom: James Stau= ffer =0ATo: Log4J Users List =0ASent: Thursday, 1 March, 2007 11:04:10 AM=0ASubject: Re: maxB= ackupIndex with DailyRollingFileAppender=0A=0A=0AIn 1.2 no, but I think tha= t is supported in 1.3. In 1.2 you could set=0Aup a cron job to delete the = extra files.=0A=0AOn 3/1/07, DM wrote:=0A> Hi,= =0A>=0A> When using a DailyRollingFileAppender, is there any way to specify= the maximum number of files which should be kept? I know that the RollingF= ileAppender supports a maxBackupIndex property, but it seems this is not su= pported by DailyRollingFileAppender. I don't want to use RollingFileAppende= r because I want the files to rollover every day, rather than when they rea= ch a certain size. So my requirements are:=0A>=0A> - Roll files over daily= =0A> - Only keep the last 5 log files=0A>=0A> Thanks in Advance,=0A> DM=0A>= =0A>=0A>=0A> ___________________________________________________________=0A= > Now you can scan emails quickly with a reading pane. Get the new Yahoo! M= ail. http://uk.docs.yahoo.com/nowyoucan.html=0A>=0A> ----------------------= -----------------------------------------------=0A> To unsubscribe, e-mail:= log4j-user-unsubscribe@logging.apache.org=0A> For additional commands, e-m= ail: log4j-user-help@logging.apache.org=0A>=0A>=0A=0A=0A-- =0AJames Stauffe= r http://www.geocities.com/stauffer_james/=0AAre you good? Take the = test at http://www.livingwaters.com/good/=0A=0A----------------------------= -----------------------------------------=0ATo unsubscribe, e-mail: log4j-u= ser-unsubscribe@logging.apache.org=0AFor additional commands, e-mail: log4j= -user-help@logging.apache.org=0A=0A=0A=09=0A=09=0A=09=09=0A________________= ___________________________________________ =0ANew Yahoo! Mail is the ultim= ate force in competitive emailing. Find out more at the Yahoo! Mail Champio= nships. Plus: play games and win prizes. =0Ahttp://uk.rd.yahoo.com/evt=3D44= 106/*http://mail.yahoo.net/uk --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org