JCgH4164838Gh792C124B5 opened a new pull request #271: Proposed fix for 
LOG4J2-2610 rollover issue:
URL: https://github.com/apache/logging-log4j2/pull/271
 
 
   Proposed fix for LOG4J2-2610 rollover issue:
   - Fix for Windows Filesystem Tunneling issue, rapid rollover issue.
   - Added FileUtils.updateFileCreationTime() method.
   - Updated FileManager and RollingFileManager to allow the file creationTime 
attribute to be updated on rollover (when it doesn't  match initialTime).
   - RollingAppenderSizeWithTimeTest.testAppender() was failing on Windows 
before any changes.  Rapid log rollover was causing overwrite of data in some 
cases (instead of writing to a new log file), resulting in lost logging 
messages.  Mitigation was to apply a 1ms sleep in 
RollingFileManager.createFileAfterRollover().

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to