From b1d4d9b1a5684d7101be4805c72fa7fcdd7a51fd Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 26 May 2017 17:10:19 +0300 Subject: enable xmpp debugger --- juick-xmpp/src/main/java/com/juick/components/XMPPServer.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'juick-xmpp/src/main/java/com/juick') diff --git a/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java b/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java index 68f043e5..f03b5331 100644 --- a/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java +++ b/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java @@ -11,6 +11,7 @@ import org.xmlpull.v1.XmlPullParserException; import rocks.xmpp.addr.Jid; import rocks.xmpp.core.session.Extension; import rocks.xmpp.core.session.XmppSessionConfiguration; +import rocks.xmpp.core.session.debug.LogbackDebugger; import rocks.xmpp.core.stanza.model.Stanza; import rocks.xmpp.util.XmppUtils; @@ -75,6 +76,7 @@ public class XMPPServer implements AutoCloseable { this.service = service; XmppSessionConfiguration configuration = XmppSessionConfiguration.builder() .extensions(Extension.of(com.juick.Message.class)) + .debugger(LogbackDebugger.class) .build(); logger.info("component initialized"); -- cgit v1.2.3