[
https://issues.apache.org/jira/browse/LOG4J2-2847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17179745#comment-17179745
]
ASF subversion and git services commented on LOG4J2-2847:
---------------------------------------------------------
Commit 22c1f393635e61c1a44a809feab4d0950fa7f228 in logging-log4j2's branch
refs/heads/master from Sebastian Thomschke
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=22c1f39 ]
LOG4J2-2847 Extend Log4j-config.xsd (#360)
This commit modifies the Log4j-config.xsd in the following ways:
a) the type elements are re-order in a way that related types are
physically close to each other, that helps with extending the schema in
the future
b) the Configuration type is extended by the missing attributes
c) validation for boolean/integer types is added
d) uniqueness is enforced when declaring custom levels, properties and
loggers
e) new configuration elements are added (filters, appenders)
f) the default values and description of attributes are added
> Extend Log4j-config.xsd
> -----------------------
>
> Key: LOG4J2-2847
> URL: https://issues.apache.org/jira/browse/LOG4J2-2847
> Project: Log4j 2
> Issue Type: Improvement
> Reporter: Sebastian T
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The currently provided XSD
> (https://github.com/apache/logging-log4j2/blob/master/log4j-core/src/main/resources/Log4j-config.xsd)
> is incomplete and misses a lot of configuration elements.
> For example:
> - The *monitorInterval * attribute and others of the *<Configuration>*
> element.
> - Under *<Appenders>* the schema only allows one *<Console>* appender.
> - The schema does not allow *<Filters>* elements within *<Console>*
> and many more
--
This message was sent by Atlassian Jira
(v8.3.4#803005)