From 21cb79a38c791fe80714db5802c4753419c6b1cd Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 17 Jul 2018 17:07:05 +0300 Subject: XMPP: log router and component to xmpp logger --- juick-server/src/main/java/com/juick/server/XMPPConnection.java | 2 +- juick-server/src/main/java/com/juick/server/xmpp/router/XMPPRouter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'juick-server/src/main/java') 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; -- cgit v1.2.3