diff --git a/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java b/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java index ffabe5989..969be7033 100644 --- a/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java +++ b/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java @@ -1112,6 +1112,9 @@ public class XMPPTCPConnection extends AbstractXMPPConnection { // sending a closing stream element first. This means that the // server wants to terminate the session, therefore disconnect // the connection + LOGGER.info(XMPPTCPConnection.this + + " received closing element." + + " Server wants to terminate the connection, calling disconnect()"); disconnect(); } }