logging-log4j2
logging-log4j2 copied to clipboard
Example xinclude-loggers.xml is not quite right (minor mistype, fails validation re xsd)
The example src/site/antora/modules/ROOT/examples/manual/configuration/xinclude-loggers.xml a) contains a spelling mistype (Rogger -> Logger)
b) the example would fail validation with the standard xsd schema (which is absent in the example) due to "Attribute 'additivity' is not allowed to appear in element 'Logger'. Although using it does actually work, so perhaps it's an xsd problem really?
The above problem, if the xml contains the xsd reference: <Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://logging.apache.org/xml/ns" xsi:schemaLocation="https://logging.apache.org/xml/ns https://logging.apache.org/xml/ns/log4j-config-2.xsd">