You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rp...@apache.org on 2016/03/04 15:23:01 UTC
[23/50] [abbrv] logging-log4j2 git commit: [LOG4J2-1299] Add pattern
converter for thread id and priority in PatternLayout.
[LOG4J2-1299] Add pattern converter for thread id and priority in
PatternLayout.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/9ebf0720
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/9ebf0720
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/9ebf0720
Branch: refs/heads/LOG4J2-1278-gc-free-logger
Commit: 9ebf07202e981a9a90a4b076486cd678d097b2a4
Parents: b2ec305
Author: ggregory <gg...@apache.org>
Authored: Tue Mar 1 16:55:56 2016 -0800
Committer: ggregory <gg...@apache.org>
Committed: Tue Mar 1 16:55:56 2016 -0800
----------------------------------------------------------------------
log4j-core/src/main/resources/Log4j-events.xsd | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/9ebf0720/log4j-core/src/main/resources/Log4j-events.xsd
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/resources/Log4j-events.xsd b/log4j-core/src/main/resources/Log4j-events.xsd
index 153302a..875df91 100644
--- a/log4j-core/src/main/resources/Log4j-events.xsd
+++ b/log4j-core/src/main/resources/Log4j-events.xsd
@@ -58,7 +58,9 @@
<xs:attribute name="timestamp" type="xs:long" use="required"/>
<xs:attribute name="nanoTime" type="xs:long" use="optional"/>
<xs:attribute name="level" type="log4j:LevelEnum" use="required"/>
+ <xs:attribute name="threadId" type="xs:long" use="required"/>
<xs:attribute name="thread" type="xs:string" use="required"/>
+ <xs:attribute name="threadProperty" type="xs:integer" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>