You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Tom Eicher (Jira)" <ji...@apache.org> on 2022/10/27 13:48:00 UTC
[jira] [Commented] (LOG4J2-170) Schema validation aginst Log4J-V2.0.xsd fails
[ https://issues.apache.org/jira/browse/LOG4J2-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17625138#comment-17625138 ]
Tom Eicher commented on LOG4J2-170:
-----------------------------------
Sadly there is no fix version on this ticket.
Hmm so the latest log4j2 is 2.19.0 and I see a xsd here:
[https://raw.githubusercontent.com/apache/logging-log4j2/rel/2.19.0/log4j-core/src/main/resources/Log4j-config.xsd]
but it still has no "monitorInterval" ...?
> Schema validation aginst Log4J-V2.0.xsd fails
> ---------------------------------------------
>
> Key: LOG4J2-170
> URL: https://issues.apache.org/jira/browse/LOG4J2-170
> Project: Log4j 2
> Issue Type: Bug
> Components: Configurators
> Affects Versions: 2.0-beta4
> Reporter: Julian Ruhe
> Priority: Major
>
> Log4J-V2.0.xsd is outdated. The type of element <configuration> lacks attributes "verbose", "monitorInterval", "dest" and even "schema" for enabling schema validation :o
> <configuration strict="true" schema="Log4J-V2.0.xsd" status="OFF" monitorInterval="300">
> ...
> </configuration>
> Enables validation and makes it fail right after.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)