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 "Matt Sicker (JIRA)" <ji...@apache.org> on 2016/03/01 21:22:18 UTC

[jira] [Comment Edited] (LOG4J2-1299) Add pattern converter for thread id and priority in PatternLayout

    [ https://issues.apache.org/jira/browse/LOG4J2-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15174350#comment-15174350 ] 

Matt Sicker edited comment on LOG4J2-1299 at 3/1/16 8:21 PM:
-------------------------------------------------------------

So is this supposed to support %T, %tid, and %threadid?

Edit: the updated manual says that, yes.


was (Author: jvz):
So is this supposed to support %T, %tid, and %threadid?

> Add pattern converter for thread id and priority in PatternLayout
> -----------------------------------------------------------------
>
>                 Key: LOG4J2-1299
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1299
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Core, Pattern Converters
>    Affects Versions: 2.5
>            Reporter: Remko Popma
>            Assignee: Gary Gregory
>             Fix For: 2.6
>
>
> As requested here:
> http://stackoverflow.com/questions/14359044/display-thread-id-instead-thread-name-in-log
> This create creates an incompatibility for serialization because we now have two new {{LogEvent}} fields: thread ID and thread priority.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org