Log4j 2
  1. Log4j 2
  2. LOG4J2-130

error(Object, Throwable) doesn't log throwable by default

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta3
    • Fix Version/s: 2.0-beta4
    • Component/s: None
    • Labels:
      None

      Description

      Default configuration of log4j used to output exception (with stack traces). log4j2 seems to require that I put %e in the pattern.

        Activity

        Hide
        Ralph Goers added a comment -

        As of revision 1425538 the PatternLayout now defaults to including %xEx if no converter that handles a Throwable is present in the pattern.

        Please verify and close.

        Show
        Ralph Goers added a comment - As of revision 1425538 the PatternLayout now defaults to including %xEx if no converter that handles a Throwable is present in the pattern. Please verify and close.

          People

          • Assignee:
            Ralph Goers
            Reporter:
            MK
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development