ppkarwasz commented on issue #3083:
URL: 
https://github.com/apache/logging-log4j2/issues/3083#issuecomment-2410942290

   @JWT007,
   
   Thanks for reporting this.
   
   Although we could solve this with a documentation update, I am classifying 
this as a feature request. Without discussing the merit of the `createOnDemand` 
configuration attribute itself, I find the lack of this feature in many 
variants of the 
[file](https://logging.apache.org/log4j/2.x/manual/appenders/file.html) and 
[rolling 
file](https://logging.apache.org/log4j/2.x/manual/appenders/rolling-file.html) 
appenders a bug.
   Personally I consider all those plugins as variants of either the [`File` 
Appender](https://logging.apache.org/log4j/2.x/manual/appenders/file.html) or 
the [`RollingFile` 
Appender](https://logging.apache.org/log4j/2.x/manual/appenders/rolling-file.html).
 Generic features like `createOnDemand` should be introduced to all 5 plugins 
(or none at all :wink:).


-- 
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