DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25386>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25386

FileAppender

           Summary: FileAppender
           Product: Log4j
           Version: 1.2
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Appender
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


assumptions:
The Logger is given a unique name within the application (with a String 
containing currentTimeMillis for the logger name).
A FileAppender is used to log into a file. The filename is also unique 
(currentTimeMillis with some other extensions).

handling:
start application twice; time elapsed during second start: approx. 2 seconds

problem:
Logger logs to both files (that's OK) but mixes the entries (that's not OK) !! 
That means: An entry belonging to the first start of the application should to 
to the 'older' file and vice versa.
That happens even if the name of the logger and the filename are different.

For me it seems that the Logger does not know which file belongs to it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to