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

QOS.CH (JIRA) noreply-jira at qos.ch
Wed Aug 14 00:01:00 CEST 2019


     [ https://jira.qos.ch/browse/SLF4J-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ceki Gülcü resolved SLF4J-466.
------------------------------
    Resolution: Fixed

Fixed in [commit 4ed244| https://github.com/qos-ch/slf4j/commit/4ed24489fa807d] in master.

Not fixed in 1.7-maintenance.

> 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
>            Reporter: Wessel van Norel
>            Assignee: Ceki Gülcü
>            Priority: Minor
>             Fix For: 2.0.0-alpha1
>
>
> [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