Browse files

Change selection key logging to debug level.

I was debugging with package net.spy.memcached at the INFO
level and it was rather annoying seeing these selection key
messages for each operation.  I believe they should be
debug level

Change-Id: Ifbb7b619f1e9d85433ff6c7a07ea4cc292737285
Reviewed-by: Michael Wiederhold <>
Tested-by: Michael Wiederhold <>
  • Loading branch information...
1 parent b70d1a0 commit 807e2eaa13c4bdbf45ef343ee8a02fbc2b12025c @ingenthr ingenthr committed with mikewied Jul 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/net/spy/memcached/
@@ -222,10 +222,10 @@ public void handleIO() throws IOException {
+ Thread.interrupted());
if (++emptySelects > DOUBLE_CHECK_EMPTY) {
for (SelectionKey sk : selector.keys()) {
- getLogger().info("%s has %s, interested in %s", sk, sk.readyOps(),
+ getLogger().debug("%s has %s, interested in %s", sk, sk.readyOps(),
if (sk.readyOps() != 0) {
- getLogger().info("%s has a ready op, handling IO", sk);
+ getLogger().debug("%s has a ready op, handling IO", sk);
} else {
lostConnection((MemcachedNode) sk.attachment());

0 comments on commit 807e2ea

Please sign in to comment.