diff options
author | Vitaly Takmazov | 2017-05-26 17:10:19 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-05-26 17:10:19 +0300 |
commit | b1d4d9b1a5684d7101be4805c72fa7fcdd7a51fd (patch) | |
tree | e89d870dd5256a4bd1606b676c4c33b17d9088a4 /juick-xmpp/src/main/java/com/juick/components/XMPPServer.java | |
parent | 13a95afa216464f47fad0ed853580f8fb82c7aca (diff) |
enable xmpp debugger
Diffstat (limited to 'juick-xmpp/src/main/java/com/juick/components/XMPPServer.java')
-rw-r--r-- | juick-xmpp/src/main/java/com/juick/components/XMPPServer.java | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |