From cb2c2b2979663e4cdec50701d3bd0cfce240c7a6 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 30 Jun 2017 12:03:28 +0300 Subject: move babbler to server-core --- .../main/java/com/juick/components/configuration/XMPPConfiguration.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'juick-notifications/src/main/java/com') 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); } -- cgit v1.2.3