Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 63487 invoked from network); 26 May 2006 05:11:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 May 2006 05:11:49 -0000 Received: (qmail 52063 invoked by uid 500); 26 May 2006 05:11:46 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 52025 invoked by uid 500); 26 May 2006 05:11:46 -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 52011 invoked by uid 99); 26 May 2006 05:11:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 22:11:46 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [202.144.65.125] (HELO smtp.sify.net) (202.144.65.125) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 22:11:45 -0700 Received: (sifymail 18403 invoked by uid 506); 26 May 2006 10:41:21 +0530 Received: from 202.144.65.125 (HELO smtp2.sify.net) (202.144.65.125) by 0 with SMTP; 26 May 2006 10:41:21 +0530 Received: (sifymail 18398 invoked by uid 506); 26 May 2006 10:41:20 +0530 Received: from 203.200.36.130 (HELO Kailash) (203.200.36.130) by 0 with SMTP; 26 May 2006 10:41:20 +0530 Message-ID: <066b01c68084$7ef631a0$5d0210ac@thbsst.thbs.india.com> From: "Kailash KN" To: Subject: Change in the RollOverFormat of logs??? Date: Fri, 26 May 2006 10:53:14 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0668_01C680B2.966D7E50" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0668_01C680B2.966D7E50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I want my log files to be rolled over, i'm using a RollingFileAppender = for the same purpose. My question is log4j, by default, rolls over the = file with the extension filename.log.1, filename.log.2.... But i want it in the format of filename_01.log, filename_02.log, .... = I'm overriding the rollOver() method in my class, but its still calling = RollingFileAppender's method, then i realized ill have to change it in = the subAppend(LoggingEvent event) method, but my question is where do i = invoke this method in my code. Any help would be greatly appreciated.=20 Thanks in advance. Thanks & Regards, Kailash.K.N. ------=_NextPart_000_0668_01C680B2.966D7E50--