Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-233

log4j-over-slf4j silently ignores Throwables in some cases

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.x
    • Fix Version/s: 2.0.0-alpha0, 1.8.0-beta5
    • Component/s: log4j-over-slf4j
    • Labels:
      None
    • Environment:

      Operating System: Mac OS X 10.3
      Platform: PC

      Description

      For non LocationAwareLoggers, Throwables are silently ignored. See:

      https://github.com/qos-ch/slf4j/blob/v_1.6.2/log4j-over-slf4j/src/main/java/org/apache/log4j/Category.java#L181

      For trace(Object message, Throwable t), the Throwable is silently ignored. See:

      https://github.com/qos-ch/slf4j/blob/v_1.6.2/log4j-over-slf4j/src/main/java/org/apache/log4j/Logger.java#L75

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ceki Ceki Gülcü
                Reporter:
                git@netcc.us John Vasileff
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: