Improve logging
[xudocci.git] / src / main / java / net / pterodactylus / irc / DefaultConnection.java
index d352b55..79ab87b 100644 (file)
@@ -356,7 +356,7 @@ public class DefaultConnection extends AbstractExecutionThreadService implements
                } finally {
                        established.set(false);
                        eventBus.unregister(this);
-                       logger.info("Closing Connection.");
+                       logger.info(String.format("Closing Connection to %s:%d.", hostname, port));
                        try {
                                Closeables.close(connectionHandler, true);
                        } catch (IOException ioe1) {