[slf4j-dev] [JIRA] (SLF4J-466) EventRecordingLogger does not properly support the Throwable as last parameter

QOS.CH (JIRA) noreply-jira at qos.ch
Mon Aug 12 12:10:00 CEST 2019


Wessel van Norel created SLF4J-466:
--------------------------------------

             Summary: EventRecordingLogger does not properly support the Throwable as last parameter
                 Key: SLF4J-466
                 URL: https://jira.qos.ch/browse/SLF4J-466
             Project: SLF4J
          Issue Type: Bug
          Components: Implementations
    Affects Versions: 1.7.x, 1.6.x
            Reporter: Wessel van Norel
            Assignee: SLF4J developers list
            Priority: Minor


[As per FAQ if the last parameter is a Throwable it should be accepted as the thing you want the stacktrace off.|https://www.slf4j.org/faq.html#paramException]

In the current EventRecordingLogger implementation, in case you pass two or more objects to the logger the (optional) last Throwable is seen as just an argument and not the actual Throwable.

 

This issue also affects 1.8.x and 2.0.x.



--
This message was sent by Atlassian JIRA
(v7.3.1#73012)


More information about the slf4j-dev mailing list