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

Guillaume Grossetie commented on SLF4J-445:
-------------------------------------------

Awesome thanks @ceki

> Skip SubstituteLogger from caller data (slf4j-jdk14)
> ----------------------------------------------------
>
>                 Key: SLF4J-445
>                 URL: https://jira.qos.ch/browse/SLF4J-445
>             Project: SLF4J
>          Issue Type: Bug
>          Components: Implementations
>    Affects Versions: 1.7.25
>         Environment: Slf4j-jdk14 binding
>            Reporter: Alexander Yevsyukov
>            Assignee: Ceki Gülcü
>              Labels: consoleoutput, substitution
>             Fix For: 1.8.0-beta5
>
>
> When using \{\{SubstituteLogger}} with \{\{JDK14LoggerAdapter}} (obtained 
> regularly via \{\{LoggerFactory}}) the output always gives 
> \{\{SubstituteLogger}} as the caller. A programmer would be interested in the 
> class/method of his code.
> The issue is that \{\{JDK14LoggerAdapter.fillCallerData()}} does not take 
> into account that \{\{SubstituteLogger}} can be the direct caller, and it is 
> needed to go one level deeper.
> This issue is similar to [one reported to 
> LogBack|https://jira.qos.ch/browse/LOGBACK-1100].



--
This message was sent by Atlassian JIRA
(v7.3.1#73012)
_______________________________________________
slf4j-dev mailing list
slf4j-dev@qos.ch
http://mailman.qos.ch/mailman/listinfo/slf4j-dev

Reply via email to