aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-07-17 17:07:05 +0300
committerGravatar Vitaly Takmazov2018-07-17 17:07:05 +0300
commit21cb79a38c791fe80714db5802c4753419c6b1cd (patch)
treef6caf81317dbf15a2c355d8b504f3c9052129057 /juick-server/src/main/java/com/juick
parent208de1f5f5ecac70fd4dfbc3d5c46ae786fad8a5 (diff)
XMPP: log router and component to xmpp logger
Diffstat (limited to 'juick-server/src/main/java/com/juick')
-rw-r--r--juick-server/src/main/java/com/juick/server/XMPPConnection.java2
-rw-r--r--juick-server/src/main/java/com/juick/server/xmpp/router/XMPPRouter.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/juick-server/src/main/java/com/juick/server/XMPPConnection.java b/juick-server/src/main/java/com/juick/server/XMPPConnection.java
index 344860fb..509a0af5 100644
--- a/juick-server/src/main/java/com/juick/server/XMPPConnection.java
+++ b/juick-server/src/main/java/com/juick/server/XMPPConnection.java
@@ -84,7 +84,7 @@ import java.util.concurrent.ExecutorService;
@DependsOn("XMPPRouter")
public class XMPPConnection implements StanzaListener, NotificationListener {
- private static final Logger logger = LoggerFactory.getLogger(XMPPConnection.class);
+ private static final Logger logger = LoggerFactory.getLogger("com.juick.server.xmpp");
private ExternalComponent router;
@Inject
diff --git a/juick-server/src/main/java/com/juick/server/xmpp/router/XMPPRouter.java b/juick-server/src/main/java/com/juick/server/xmpp/router/XMPPRouter.java
index 5a6ee055..4464262c 100644
--- a/juick-server/src/main/java/com/juick/server/xmpp/router/XMPPRouter.java
+++ b/juick-server/src/main/java/com/juick/server/xmpp/router/XMPPRouter.java
@@ -41,7 +41,7 @@ import java.util.concurrent.ExecutorService;
@Component
public class XMPPRouter implements StreamHandler {
- private static final Logger logger = LoggerFactory.getLogger(XMPPRouter.class);
+ private static final Logger logger = LoggerFactory.getLogger("com.juick.server.xmpp");
@Inject
private ExecutorService service;