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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to