apache / apache/logging-log4j2
RollingFileAppender with createOnDemand=true creates directories on a path eagerly (on initialization)
Open
waiting-for-maintainer
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.7k
- Avg merge
- 21h 30m
- Merged PRs (30d)
- 27
Description
The RollingFileAppender with createOnDemand=true creates directories on the path to a log file even if it never writes to the log file.
For example, if the log file is in /f/dummy.log and the folder f doesn’t exist, the folder f is not created lazily as the file dummy.log is.
I think, the expected behavior is that RollingFileAppender with createOnDemand=true setting creates directories on a path lazily at the same time as the log file is created.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.