Marc,

log4j only ever considers the current file to be the file without the 
numbers (the ones with numbers are the old data--never current).

So, if you have the property value set to myFile.txt, then that is the 
only file that is ever the "current" file.
If it creates myFile.txt.1, then that is the most recent log entries 
compared to the current file of myFile.txt.

If there is a myFile.txt.2, then it is older data than both myFile.txt.1 
and the current file of myFile.txt.


--
Tom Goetze




"Marc Esher \(4-2060\)" <[EMAIL PROTECTED]>
10/27/2004 12:02 PM
Please respond to "Log4J Users List"

 
        To:     "Log4J Users List" <[EMAIL PROTECTED]>
        cc: 
        Subject:        RE: getting file path for a logger


Thanks Matt. 

Before I try this out myself, which will be in the next couple of hours:
will this return the value of "File" as set in the properties, or will
it return the current file being logged to (i.e. myFile.txt.1)?




Reply via email to