tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Triptpal Singh Lamba" <>
Subject Logger Problem
Date Tue, 07 Jan 2003 06:24:25 GMT
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?

Tript Singh

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message