Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 91389 invoked from network); 7 Jan 2003 07:08:40 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 7 Jan 2003 07:08:40 -0000 Received: (qmail 6734 invoked by uid 97); 7 Jan 2003 07:09:45 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 6719 invoked by uid 97); 7 Jan 2003 07:09:44 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 6707 invoked by uid 98); 7 Jan 2003 07:09:43 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-Id: <5.1.1.6.0.20030106231120.0247de60@mail.halcyon.com> X-Sender: seapwc@mail.halcyon.com X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Mon, 06 Jan 2003 23:12:37 -0800 To: "Tomcat Users List" From: Paul Campbell Subject: Re: Logger Problem In-Reply-To: <011601c2b615$6d6f14c0$31513181@GENIUS> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is supported in log4j. http://jakarta.apache.org/log4j/docs/index.html At 01:24 AM 1/7/2003 -0500, you wrote: >I am using a simple logger I made for an application. It is used to debug my server side Java classes and JSPs . The idea is that the logger file name is made on the current date. >Now the file name and path are set only once in the Lifecycle of the application(when the server is started). > >How do I put an if condition such that the Log file path changes every "day". I dont want to compare the date in file name existing with current date with every Log statement. > >Any Ideas? > >Thanks >Tript Singh -- To unsubscribe, e-mail: For additional commands, e-mail: