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 "Alireza Fattahi (JIRA)" <ji...@apache.org> on 2014/12/18 13:46:13 UTC

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

Alireza Fattahi created LOG4J2-925:
--------------------------------------

             Summary: Log4j2 %rThrowable{full} not prinitng getLocalizedMessage
                 Key: LOG4J2-925
                 URL: https://issues.apache.org/jira/browse/LOG4J2-925
             Project: Log4j 2
          Issue Type: Bug
          Components: Layouts
            Reporter: Alireza Fattahi
             Fix For: 2.1


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:

    <property name="consolelayoutPattern">%-5p %-30.30c{2} %m%n%rThrowable{full}</property>

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