diff options
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/XMPPServer.java')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/XMPPServer.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/juick-server/src/main/java/com/juick/server/XMPPServer.java b/juick-server/src/main/java/com/juick/server/XMPPServer.java index 86a855a7..a75a7131 100644 --- a/juick-server/src/main/java/com/juick/server/XMPPServer.java +++ b/juick-server/src/main/java/com/juick/server/XMPPServer.java @@ -202,7 +202,7 @@ public class XMPPServer implements ConnectionListener, AutoCloseable { xmppStreamWriter.flush(); xmppStreamWriter.close(); String xml = stanzaWriter.toString(); - logger.info("s2s (out): {}", xml); + logger.debug("s2s (out): {}", xml); sendOut(Jid.of(s.getTo().getDomain()), xml); } catch (XMLStreamException | JAXBException e1) { logger.info("jaxb exception", e1); @@ -305,7 +305,7 @@ public class XMPPServer implements ConnectionListener, AutoCloseable { @Override public void starttls(ConnectionIn connection) { - logger.info("stream {} securing", connection.streamID); + logger.debug("stream {} securing", connection.streamID); connection.sendStanza("<proceed xmlns=\"" + Connection.NS_TLS + "\" />"); try { connection.setSocket(sc.getSocketFactory().createSocket(connection.getSocket(), connection.getSocket().getInetAddress().getHostAddress(), @@ -313,7 +313,7 @@ public class XMPPServer implements ConnectionListener, AutoCloseable { ((SSLSocket) connection.getSocket()).setUseClientMode(false); ((SSLSocket) connection.getSocket()).startHandshake(); connection.setSecured(true); - logger.info("stream {} secured", connection.streamID); + logger.debug("stream {} secured", connection.streamID); connection.restartParser(); } catch (XmlPullParserException | IOException sex) { logger.warn("stream {} ssl error {}", connection.streamID, sex); @@ -331,7 +331,7 @@ public class XMPPServer implements ConnectionListener, AutoCloseable { socket.getPort(), true); ((SSLSocket) socket).startHandshake(); connection.setSecured(true); - logger.info("stream {} secured", connection.getStreamID()); + logger.debug("stream {} secured", connection.getStreamID()); connection.setInputStream(socket.getInputStream()); connection.setOutputStream(socket.getOutputStream()); connection.restartStream(); @@ -374,10 +374,10 @@ public class XMPPServer implements ConnectionListener, AutoCloseable { @Override public void ready(ConnectionOut connection) { - logger.info("stream to {} {} ready", connection.to, connection.getStreamID()); + logger.debug("stream to {} {} ready", connection.to, connection.getStreamID()); String cache = getFromCache(connection.to); if (cache != null) { - logger.info("stream to {} {} sending cache", connection.to, connection.getStreamID()); + logger.debug("stream to {} {} sending cache", connection.to, connection.getStreamID()); connection.send(cache); } } |