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

Log4j2 %rThrowable{full} not printing getLocalizedMessage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Layouts
    • 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

            Unassigned Unassigned
            afattahi Alireza Fattahi
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: