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

Log4j2 %rThrowable{full} not printing getLocalizedMessage

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            afattahi Alireza Fattahi

            Dates

              Created:
              Updated:

              Slack

                Issue deployment