You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "IMurzich (via GitHub)" <gi...@apache.org> on 2024/10/10 11:29:28 UTC

[I] Configuration type doesn't have MarkerFilter element (logging-log4j2)

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

   ## Description
   log4j.xml from https://github.com/apache/logging-log4j2/blob/2.x/src/site/antora/modules/ROOT/examples/manual/markers/log4j2.xml doesn't validate:
   
   Multiple annotations found at this line:
                   - Element name 'MarkerFilter' is invalid.
   One of the following is expected:
   - CustomLevels
   - Loggers
   
   Error indicated by:
   {https://logging.apache.org/xml/ns}
   with code:
                   - cvc-complex-type.2.4.a: Invalid content was found starting with element
                    '{"https://logging.apache.org/xml/ns":MarkerFilter}'. One of '{"https://
                   logging.apache.org/xml/ns":CustomLevels, "https://logging.apache.org/xml/
                   ns":Loggers}' is expected.
   
   ## Configuration
   **Version:** Used xsd - https://logging.apache.org/xml/ns/log4j-config-2.xsd
   
   ## Reproduction
   validate https://github.com/apache/logging-log4j2/blob/2.x/src/site/antora/modules/ROOT/examples/manual/markers/log4j2.xml


-- 
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: notifications-unsubscribe@logging.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org