Alexander Yevsyukov created SLF4J-445:
-----------------------------------------
Summary: 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: SLF4J developers list
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
[email protected]
http://mailman.qos.ch/mailman/listinfo/slf4j-dev