Description
In the new Log4j 2.x online documentation:
https://logging.apache.org/log4j/2.x/manual/appenders/rolling-file.html
The configuration attribte 'createOnDemand' is documented as a common attribute for both RollingFileAppender and RollingRandomAccessFileAppender.
Looking at most current code (2.24.1) it seems to only be an attribute of the RollingFileAppender
.
NOTE: I originally created a ticket for this on the JIRA to which @ppkarwasz mentioned that this is probably a bug.
https://issues.apache.org/jira/browse/LOG4J2-3690
If so, I assume that the attribute needs to be duplicated in RollingRandomAccessFileAppender.
Reading the documentation and looking at the code it almost seems like there is a missing link in the inheritence chain :)
class AbstractRollingFileAppender extends AbstractOutputStreamAppender
Metadata
Metadata
Assignees
Type
Projects
Status