From 13224a966227a81ad3f959ccaab8a2762b26be67 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Tue, 9 Jun 2015 22:25:19 +0200 Subject: [PATCH] More information in closed on error log --- .../java/org/jivesoftware/smack/AbstractXMPPConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java b/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java index 3d14499df..216e0a536 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java @@ -1206,7 +1206,7 @@ public abstract class AbstractXMPPConnection implements XMPPConnection { } } if (logWarning) { - LOGGER.log(Level.WARNING, "Connection closed with error", e); + LOGGER.log(Level.WARNING, "Connection " + this + " closed with error", e); } for (ConnectionListener listener : connectionListeners) { try {