From 53aa2472c9bb3f1528b87cc298c077f1901c6358 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 28 Mar 2018 16:27:30 +0300 Subject: server: move xmpp exceptions to debug log level --- .../src/main/java/com/juick/server/xmpp/s2s/ConnectionIn.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'juick-server/src/main/java') diff --git a/juick-server/src/main/java/com/juick/server/xmpp/s2s/ConnectionIn.java b/juick-server/src/main/java/com/juick/server/xmpp/s2s/ConnectionIn.java index 01cc78ab..48cf2de4 100644 --- a/juick-server/src/main/java/com/juick/server/xmpp/s2s/ConnectionIn.java +++ b/juick-server/src/main/java/com/juick/server/xmpp/s2s/ConnectionIn.java @@ -146,7 +146,7 @@ public class ConnectionIn extends Connection implements Runnable { sendOpenStream(null, true); } else if (tag.equals("error")) { StreamError streamError = StreamError.parse(parser); - logger.warn("Stream error from {}: {}", streamID, streamError.getCondition()); + logger.debug("Stream error from {}: {}", streamID, streamError.getCondition()); xmpp.removeConnectionIn(this); closeConnection(); } else { @@ -158,11 +158,11 @@ public class ConnectionIn extends Connection implements Runnable { xmpp.removeConnectionIn(this); closeConnection(); } catch (EOFException | SocketException ex) { - logger.info("stream {} closed (dirty)", streamID); + logger.debug("stream {} closed (dirty)", streamID); xmpp.removeConnectionIn(this); closeConnection(); } catch (Exception e) { - logger.warn("stream {} error {}", streamID, e); + logger.debug("stream {} error {}", streamID, e); xmpp.removeConnectionIn(this); closeConnection(); } -- cgit v1.2.3