[Bug 324] New: Detected logger name mismatch - false alert

http://bugzilla.slf4j.org/show_bug.cgi?id=324 Priority: P5 Bug ID: 324 Assignee: slf4j-dev@qos.ch Summary: Detected logger name mismatch - false alert Severity: normal Classification: Unclassified OS: Windows NT Reporter: anthony@whitford.com Hardware: PC Status: NEW Version: 1.7.x Component: Core API Product: SLF4J After activating the slf4j.detectLoggerNameMismatch feature, I am seeing false alerts: SLF4J: Detected logger name mismatch. Given name: "com.westernasset.compliance.cache.pss.PSSCacheChangeListener$PssActor "; computed name: "akka.event.slf4j.Logger$". Note that the code looks something like this: public class PSSCacheChangeListener implements MapListener { private static final Logger LOGGER = LoggerFactory.getLogger(PSSCacheChangeListener.class); ... public static class PssActor extends UntypedActor { private static final Logger LOGGER = LoggerFactory.getLogger(PssActor.class); So note that PssActor is an inner class to PSSCacheChangeListener, and also note that UntypedActor is a class from Akka, which may inherit from a Scala class. -- You are receiving this mail because: You are the assignee for the bug.

http://bugzilla.slf4j.org/show_bug.cgi?id=324 Alexander Dorokhine <slf4j@dorokhine.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |slf4j@dorokhine.com --- Comment #1 from Alexander Dorokhine <slf4j@dorokhine.com> --- Hmm, very interesting. Thanks for finding this. I'm not familiar with Scala, but I'd be very curious to see the full stack trace leading to this line of code: https://github.com/qos-ch/slf4j/blob/cdcdebbae31243df5cedd9f92e0e33bf772f49a... Would you be able to obtain this? If needed I can send you a modified slf4j jar that would print the stacktrace there. -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@qos.ch