aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-03-28 16:27:30 +0300
committerGravatar Vitaly Takmazov2018-03-28 16:28:12 +0300
commit53aa2472c9bb3f1528b87cc298c077f1901c6358 (patch)
tree360c09d5037619b34005ea1b86b501395dea47b1 /juick-server/src/main/java
parentf93c6a2e1bca880d20f07e8ddd15eadfeb39d730 (diff)
server: move xmpp exceptions to debug log level
Diffstat (limited to 'juick-server/src/main/java')
-rw-r--r--juick-server/src/main/java/com/juick/server/xmpp/s2s/ConnectionIn.java6
1 files changed, 3 insertions, 3 deletions
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();
}