Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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-on: http://review.couchbase.org/18996
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>
  • Loading branch information...
commit 807e2eaa13c4bdbf45ef343ee8a02fbc2b12025c 1 parent b70d1a0
@ingenthr ingenthr authored mikewied committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/net/spy/memcached/MemcachedConnection.java
View
4 src/main/java/net/spy/memcached/MemcachedConnection.java
@@ -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(),
sk.interestOps());
if (sk.readyOps() != 0) {
- getLogger().info("%s has a ready op, handling IO", sk);
+ getLogger().debug("%s has a ready op, handling IO", sk);
handleIO(sk);
} else {
lostConnection((MemcachedNode) sk.attachment());
Please sign in to comment.
Something went wrong with that request. Please try again.