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

Throwables in ParameterizedMessage

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.1
    • Fix Version/s: 0.1
    • Component/s: API
    • Labels:
      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

            • Assignee:
              ralph.goers@dslextreme.com Ralph Goers
              Reporter:
              jvasileff John Vasileff
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: