diff options
author | Vitaly Takmazov | 2017-06-30 12:03:28 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-06-30 12:03:28 +0300 |
commit | cb2c2b2979663e4cdec50701d3bd0cfce240c7a6 (patch) | |
tree | b49127a5047d3b4ff11bf908500d0871f5a4ed9c /juick-notifications | |
parent | ea519116e9b5ff184498241298d8c9002a173c73 (diff) |
move babbler to server-core
Diffstat (limited to 'juick-notifications')
-rw-r--r-- | juick-notifications/src/main/java/com/juick/components/configuration/XMPPConfiguration.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/juick-notifications/src/main/java/com/juick/components/configuration/XMPPConfiguration.java b/juick-notifications/src/main/java/com/juick/components/configuration/XMPPConfiguration.java index 4cba533d..0073b502 100644 --- a/juick-notifications/src/main/java/com/juick/components/configuration/XMPPConfiguration.java +++ b/juick-notifications/src/main/java/com/juick/components/configuration/XMPPConfiguration.java @@ -5,6 +5,7 @@ import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import rocks.xmpp.core.session.Extension; import rocks.xmpp.core.session.XmppSessionConfiguration; +import rocks.xmpp.core.session.debug.LogbackDebugger; import rocks.xmpp.extensions.component.accept.ExternalComponent; /** @@ -25,6 +26,7 @@ public class XMPPConfiguration { public ExternalComponent xmpp() { XmppSessionConfiguration configuration = XmppSessionConfiguration.builder() .extensions(Extension.of(com.juick.Message.class)) + .debugger(LogbackDebugger.class) .build(); return ExternalComponent.create(pushJid, xmppPushPassword, configuration, xmppHost, xmppPort); } |