Skip to content

Commit

Permalink
KAFKA-2504: Stop logging WARN when client disconnects
Browse files Browse the repository at this point in the history
Author: jholoman <[email protected]>

Reviewers: Gwen Shapira

Closes apache#211 from jholoman/KAFKA-2504
  • Loading branch information
jholoman authored and gwenshap committed Sep 14, 2015
1 parent b7d4043 commit d88b5bd
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,7 @@ public void poll(long timeout) throws IOException {
}
} catch (IOException e) {
String desc = channel.socketDescription();
if (e instanceof EOFException || e instanceof ConnectException)
log.debug("Connection {} disconnected", desc);
else
log.warn("Error in I/O with connection to {}", desc, e);
log.debug("Connection with {} disconnected", desc, e);
close(channel);
this.disconnected.add(channel.id());
}
Expand Down

0 comments on commit d88b5bd

Please sign in to comment.