<html>
<head>
<base href="http://bugzilla.slf4j.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Detected logger name mismatch - false alert"
href="http://bugzilla.slf4j.org/show_bug.cgi?id=324">324</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>slf4j-dev@qos.ch
</td>
</tr>
<tr>
<th>Summary</th>
<td>Detected logger name mismatch - false alert
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Reporter</th>
<td>anthony@whitford.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>1.7.x
</td>
</tr>
<tr>
<th>Component</th>
<td>Core API
</td>
</tr>
<tr>
<th>Product</th>
<td>SLF4J
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>