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

Throwables in ParameterizedMessage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.1
    • 0.1
    • API
    • None

    Description

      ParameterizedMessage objects are capable of identifying throwables when provided as the last parameter in methods like:

      void info(String message, Object... params);

      but they are not properly logged. In addition, for some Logger methods, a throwable may be specified more than once for Message types that support throwables:

      void info(Message msg, Throwable t);

      See http://mail-archives.apache.org/mod_mbox/logging-log4j-dev/201109.mbox/%3cDDC2E2A0-A4BA-4ED4-8F05-378152690CB9@gmail.com%3e

      Attachments

        Activity

          People

            rgoers Ralph Goers
            jvasileff John Vasileff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: