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

QOS.CH (JIRA) noreply-jira at qos.ch
Tue Aug 13 23:50:00 CEST 2019


    [ https://jira.qos.ch/browse/SLF4J-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19774#comment-19774 ] 

Wessel van Norel commented on SLF4J-466:
----------------------------------------

Should I backport the changes to 1.7.x?

> 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