Repository: logging-log4j2 Updated Branches: refs/heads/master 850636a20 -> 69b14f96e
Refactors minOccur to minOccurs in Log4j-config.xsd Closes #58 Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/2cb99494 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/2cb99494 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/2cb99494 Branch: refs/heads/master Commit: 2cb9949486c8c9494d5a365d15fda12891af1c45 Parents: c826beb Author: rpopma <[email protected]> Authored: Tue Feb 14 23:28:48 2017 +0900 Committer: rpopma <[email protected]> Committed: Tue Feb 14 23:28:48 2017 +0900 ---------------------------------------------------------------------- log4j-core/src/main/resources/Log4j-config.xsd | 4 ++-- src/changes/changes.xml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/2cb99494/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 a7122ef..d4cfee4 100644 --- a/log4j-core/src/main/resources/Log4j-config.xsd +++ b/log4j-core/src/main/resources/Log4j-config.xsd @@ -82,12 +82,12 @@ <xs:complexType name="AppendersType"> <xs:sequence> <xs:element name="Appender" type="AppenderType" minOccurs="0" maxOccurs="unbounded"/> - <xs:element name="Console" type="ConsoleType" minOccur="0"/> + <xs:element name="Console" type="ConsoleType" minOccurs="0"/> </xs:sequence> </xs:complexType> <xs:complexType name="ConsoleType"> <xs:sequence> - <xs:element name="PatternLayout" type="PatternLayoutType" minOccur="1" maxOccurs="unbounded"/> + <xs:element name="PatternLayout" type="PatternLayoutType" minOccurs="1" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute type="xs:string" name="name" use="required"/> <xs:attribute type="xs:string" name="target" use="required"/> http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/2cb99494/src/changes/changes.xml ---------------------------------------------------------------------- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 2332570..61b80dd 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -31,6 +31,9 @@ - "remove" - Removed --> <release version="2.8.1" date="2017-MM-DD" description="GA Release 2.8.1"> + <action issue="LOG4J2-1816" dev="rpopma" type="fix" due-to="shubhankar1100"> + Change minOccur to minOccurs in Log4j-config.xsd. + </action> <action issue="LOG4J2-1812" dev="rpopma" type="update"> Improved error message when log4j 2 configuration file not found. </action>
