JWT007 opened a new issue, #3083:
URL: https://github.com/apache/logging-log4j2/issues/3083

   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`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to