apache / apache/logging-log4j2
The `immediateFlush` option in both rolling file appenders is ignored
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.7k
- Avg merge
- 21h 30m
- Merged PRs (30d)
- 27
Description
## Description
Both the `RollingFileAppender` and `RollingRandomAccessFileAppender` plugins offer a boolean flag, `immediateFlush`, to allow for immediate flushing of buffers when writing data. This option is ultimately discarded when creating the corresponding `RollingFileManager` and `RollingRandomAccessFileManager` instances.
## Configuration
**Version:** 2.x and main
**Operating system:** all
**JDK:** all
## Logs
n/a
## Reproduction
The amusing part is that we have tons of tests that set `immediateFlush` to `true` or `false`, yet none of these tests verify that it does anything.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.