This seems to a simple bug. In the RollingFileManager::createManager() method when creating the OutputStream object based on if "data.bufferedIO" we wrap the outputstream into a BufferedOutputStream
However after first rollover in the method RollingFileManager::createFileAfterRollover() we do not do the same.
- is related to
LOG4J2-674 Make RollingFile buffer size configurable