aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--juick-common/src/main/java/rocks/xmpp/core/session/debug/LogbackDebugger.java2
-rw-r--r--juick-server-xmpp/src/main/java/com/juick/server/XMPPServer.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/juick-common/src/main/java/rocks/xmpp/core/session/debug/LogbackDebugger.java b/juick-common/src/main/java/rocks/xmpp/core/session/debug/LogbackDebugger.java
index 0b31ee87..aae49bc7 100644
--- a/juick-common/src/main/java/rocks/xmpp/core/session/debug/LogbackDebugger.java
+++ b/juick-common/src/main/java/rocks/xmpp/core/session/debug/LogbackDebugger.java
@@ -32,7 +32,7 @@ public class LogbackDebugger implements XmppDebugger {
@Override
public void initialize(XmppSession xmppSession) {
- logger = LoggerFactory.getLogger(xmppSession.getClass());
+ logger = LoggerFactory.getLogger("com.juick.server.xmpp");
}
@Override
diff --git a/juick-server-xmpp/src/main/java/com/juick/server/XMPPServer.java b/juick-server-xmpp/src/main/java/com/juick/server/XMPPServer.java
index a324282c..bf8ed228 100644
--- a/juick-server-xmpp/src/main/java/com/juick/server/XMPPServer.java
+++ b/juick-server-xmpp/src/main/java/com/juick/server/XMPPServer.java
@@ -58,7 +58,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
*/
@Component
public class XMPPServer implements ConnectionListener, AutoCloseable {
- private static final Logger logger = LoggerFactory.getLogger(XMPPServer.class);
+ private static final Logger logger = LoggerFactory.getLogger("com.juick.server.xmpp");
private static final int TIMEOUT_MINUTES = 15;