Kenneth Leider created LOG4J2-889:
-------------------------------------
Summary: RollingRandomAccessFileAppender appends the header every
time the application is started.
Key: LOG4J2-889
URL: https://issues.apache.org/jira/browse/LOG4J2-889
Project: Log4j 2
Issue Type: Bug
Components: Appenders
Affects Versions: 2.0.2
Environment: Windows 8
Reporter: Kenneth Leider
Priority: Minor
It looks like the problem is at RollingRandomAccessFileManager.java:58.
I think there needs to be a check to see if the file is empty before appending
the header
if (raf.length() == 0) writeHeader();
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]