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

Output of printing ThrowableProxy is different from Throwable#printStackTrace

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.0.6
    • logback-classic
    • None

    Description

      logback prints Throwable instances differently from Throwable#printStackTrace in that it does not delegate to the Throwable's #toString method. This can lead to the loss of extra information attached to the exception, as this information is usually exposed via #toString.

      See mailing list thread for additional details and test case: http://mailman.qos.ch/pipermail/logback-user/2012-July/003329.html

      Attachments

        Activity

          People

            logback-dev Logback dev list
            atomicknight Abraham Lin
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: