Commit d2377923 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Improved logging information.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4693 b35dd754-fafc-0310-a699-88a17e54d16e
parent b2dc74eb
...@@ -72,7 +72,7 @@ abstract class SocketReadingMode { ...@@ -72,7 +72,7 @@ abstract class SocketReadingMode {
socketReader.connection.startTLS(false, null); socketReader.connection.startTLS(false, null);
} }
catch (IOException e) { catch (IOException e) {
Log.error("Error while negotiating TLS", e); Log.error("Error while negotiating TLS: " + socketReader.connection, e);
socketReader.connection.deliverRawText("<failure xmlns=\"urn:ietf:params:xml:ns:xmpp-tls\">"); socketReader.connection.deliverRawText("<failure xmlns=\"urn:ietf:params:xml:ns:xmpp-tls\">");
socketReader.connection.close(); socketReader.connection.close();
return false; return false;
......
...@@ -345,7 +345,7 @@ public class OutgoingServerSession extends Session { ...@@ -345,7 +345,7 @@ public class OutgoingServerSession extends Session {
} }
} }
if (ServerDialback.isEnabled()) { if (ServerDialback.isEnabled()) {
Log.debug("OS - Going to try connecting using server dialback"); Log.debug("OS - Going to try connecting using server dialback with: " + hostname);
// Use server dialback over a plain connection // Use server dialback over a plain connection
return new ServerDialback().createOutgoingSession(domain, hostname, port); return new ServerDialback().createOutgoingSession(domain, hostname, port);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment