You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Remko Popma <re...@gmail.com> on 2016/03/02 09:17:01 UTC

Re: [1/2] logging-log4j2 git commit: [LOG4J2-1299] Add pattern converter for thread id and priority in PatternLayout.

Should "ThreadProperty" not be "ThreadPriority"?

On Wednesday, 2 March 2016, <gg...@apache.org> wrote:

> Repository: logging-log4j2
> Updated Branches:
>   refs/heads/master c83366edb -> 9c9bc95d3
>
>
> [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/master
> Commit: 9ebf07202e981a9a90a4b076486cd678d097b2a4
> Parents: b2ec305
> Author: ggregory <ggregory@apache.org <javascript:;>>
> Authored: Tue Mar 1 16:55:56 2016 -0800
> Committer: ggregory <ggregory@apache.org <javascript:;>>
> 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>
>
>

Re: [1/2] logging-log4j2 git commit: [LOG4J2-1299] Add pattern converter for thread id and priority in PatternLayout.

Posted by Gary Gregory <ga...@gmail.com>.
Yep, darn, good catch. Fixing...

Gary

On Wed, Mar 2, 2016 at 12:17 AM, Remko Popma <re...@gmail.com> wrote:

> Should "ThreadProperty" not be "ThreadPriority"?
>
> On Wednesday, 2 March 2016, <gg...@apache.org> wrote:
>
>> Repository: logging-log4j2
>> Updated Branches:
>>   refs/heads/master c83366edb -> 9c9bc95d3
>>
>>
>> [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/master
>> 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>
>>
>>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory