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 "Gary Gregory (JIRA)" <ji...@apache.org> on 2015/03/17 06:56:38 UTC

[jira] [Updated] (LOG4J2-925) Log4j2 %rThrowable{full} not printing getLocalizedMessage

     [ https://issues.apache.org/jira/browse/LOG4J2-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory updated LOG4J2-925:
--------------------------------
    Summary: Log4j2 %rThrowable{full} not printing getLocalizedMessage  (was: Log4j2 %rThrowable{full} not prinitng getLocalizedMessage)

> Log4j2 %rThrowable{full} not printing getLocalizedMessage
> ---------------------------------------------------------
>
>                 Key: LOG4J2-925
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-925
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Layouts
>            Reporter: Alireza Fattahi
>
> It seems that the %rThrowable{full} pattern will not use {{getLocalizedMessage()}} by default, while the %Throwable{full} will out put it.
> The rThrowable{short.localizedMessage} is not working
> My pattern is:
> {code:xml}
>     <property name="consolelayoutPattern">%-5p %-30.30c{2} %m%n%rThrowable{full}</property>
> {code}
> Any suggestion ?!
>  



--
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