Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-925

Log4j2 %rThrowable{full} not printing getLocalizedMessage

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Layouts
    • Labels:
      None

      Description

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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              afattahi Alireza Fattahi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: