Return-Path: Delivered-To: apmail-logging-log4j-dev-archive@www.apache.org Received: (qmail 23574 invoked from network); 15 Apr 2004 12:55:45 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Apr 2004 12:55:45 -0000 Received: (qmail 68849 invoked by uid 500); 15 Apr 2004 12:55:37 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 68779 invoked by uid 500); 15 Apr 2004 12:55:36 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 68710 invoked from network); 15 Apr 2004 12:55:36 -0000 Received: from unknown (HELO mustang.mpi.com) (63.244.250.132) by daedalus.apache.org with SMTP; 15 Apr 2004 12:55:36 -0000 Received: from lightning.mpi.com (lightning [63.244.252.11]) by mustang.mpi.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id i3FCprl27745 for ; Thu, 15 Apr 2004 08:51:53 -0400 (EDT) Received: from US-VS1.corp.mpi.com (us-be1.corp.mpi.com [63.244.252.30]) by lightning.mpi.com (Switch-3.0.5/Switch-3.0.0) with ESMTP id i3FCsbBH026152 for ; Thu, 15 Apr 2004 08:55:27 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: DateFormatFileAppender Date: Thu, 15 Apr 2004 08:54:40 -0400 Message-ID: <9C5166762F311146951505C6790A9CF8013E01B8@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DateFormatFileAppender Thread-Index: AcQhbFt84GL8rHcHQDyuCoPdzqB32ABfHpHg From: "Shapira, Yoav" To: "Log4J Developers List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, 1. This already exists (DailyRollingFileAppender in log4j 1.2 and vari= ous options in log4j 1.3), 2. This is the wrong list: log4j-user is the place. Yoav Shapira Millennium Research Informatics -----Original Message----- From: James Stauffer [mailto:jstauffe@spscommerce.com] Sent: Tuesday, April 13, 2004 11:25 AM To: 'log4j-dev@logging.apache.org' Subject: DateFormatFileAppender I posted a message to the user list titled "Logs separated by year/mon= /day."=A0 It doesn't look like any current appenders support what I am= trying to do so I wrote a new appender (attached).=A0 It works but pr= obably needs to be cleaned up (formatting, etc) to fit in log4j.=A0 (T= he only change I made after my last run with it was to change the pack= age.)=A0 I also don't=A0know if I did things the "preferred" way.=A0 I= t is a simple class.=A0 It just overrides setFile(String, boolean, buf= feredIO, bufferSize) to format the given fileName and produce another = fileName (producing directories as necessary).=A0 Is this something th= at=A0you would be interested in having in log4j?=A0 If yes, I can clea= n it up more and follow any advice you have.=A0 I tried bugzilla but i= t appears to be down right now.=A0 Questions and comments are welcome.= =A0 James Stauffer =A0 This e-mail, including any attachments, is a confidential business com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, please immediately delete this e-mail from your computer system= and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org