GitHub user vy added a comment to the discussion: Attribute 'additivity' is not 
allowed to appear in element 'Logger'

> Because of these limitations, XML validation errors in Log4j configuration 
> files should be taken with a grain of salt

@ppkarwasz, this is a very nice and elaborate response. I think users would 
find it helpful to have a (diet version of?) this explanation in [the XML 
configuration 
features](https://logging.apache.org/log4j/2.x/manual/configuration.html#xml-features)
 page. AFAICT, the message we will get across should be _"Use XML and XSD – 
this is the recommended combo. Yet be aware that XSD is neither exhaustive, nor 
100% accurate."_

GitHub link: 
https://github.com/apache/logging-log4j2/discussions/3696#discussioncomment-13352325

----
This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@logging.apache.org

Reply via email to