Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1749

In the new JsonEncoder, the throwable's cause(s) are not included.

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.4.9, 1.3.9
    • 1.3.8
    • logback-classic
    • logback 1.3.8, running in tomcat.

    Description

      With this appender:
      <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
          <encoder class="ch.qos.logback.classic.encoder.JsonEncoder"/>
      </appender>
      The throwable that get get encoded only has it's immediate stack trace.  It needs to include the throwable's cause (recursively, maybe up to some sanity limit?)

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            hobie744 Christopher Holt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: