Repository: logging-log4j2 Updated Branches: refs/heads/master 194ffd2da -> 417e3049e
[LOG4J2-2073] Log4j-config.xsd should make AppenderRef optional for each Logger element. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/417e3049 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/417e3049 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/417e3049 Branch: refs/heads/master Commit: 417e3049e0466fa3558f04a6c7f4955014619d7d Parents: 194ffd2 Author: Gary Gregory <[email protected]> Authored: Fri Oct 13 15:03:37 2017 -0600 Committer: Gary Gregory <[email protected]> Committed: Fri Oct 13 15:03:37 2017 -0600 ---------------------------------------------------------------------- log4j-core/src/main/resources/Log4j-config.xsd | 2 +- src/changes/changes.xml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/417e3049/log4j-core/src/main/resources/Log4j-config.xsd ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/resources/Log4j-config.xsd b/log4j-core/src/main/resources/Log4j-config.xsd index d0dc906..0ead84d 100644 --- a/log4j-core/src/main/resources/Log4j-config.xsd +++ b/log4j-core/src/main/resources/Log4j-config.xsd @@ -113,7 +113,7 @@ <xs:element name="Filters" type="FiltersType"/> <xs:element name="Filter" type="FilterType"/> </xs:choice> - <xs:element name="AppenderRef" type="AppenderRefType" maxOccurs="unbounded" minOccurs="1"/> + <xs:element name="AppenderRef" type="AppenderRefType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="name" type="xs:string" use="required"/> <xs:attribute name="level" type="xs:string" use="optional"/> http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/417e3049/src/changes/changes.xml ---------------------------------------------------------------------- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index d989e0e..5239b5c 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -74,6 +74,9 @@ <action issue="LOG4J2-2071" dev="ggregory" type="add" due-to="Carter Kozak"> Add org.apache.logging.log4j.core.config.composite.CompositeConfiguration#toString(). </action> + <action issue="LOG4J2-2073" dev="ggregory" type="fix" due-to="Patrick Lucas"> + Log4j-config.xsd should make AppenderRef optional for each Logger element. + </action> </release> <release version="2.9.1" date="2017-09-17" description="GA Release 2.9.1"> <action issue="LOG4J2-1988" dev="rpopma" type="fix">
