logging-log4j2 icon indicating copy to clipboard operation
logging-log4j2 copied to clipboard

Example xinclude-loggers.xml is not quite right (minor mistype, fails validation re xsd)

Open antboy opened this issue 5 months ago • 2 comments

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

antboy avatar Sep 21 '24 09:09 antboy