Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.12.0
-
None
-
None
Description
in code:
org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager#createFileAfterRollover()
@Override
protected void createFileAfterRollover() throws IOException
private void createFileAfterRollover(final String fileName) throws IOException {
this.randomAccessFile = new RandomAccessFile(fileName, "rw");
// should use filePermissions
defineAttributeView(Paths.get(filename));
if (isAppend())
writeHeader();
}