diff options
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); } |