Skip to content

Commit 4aae4c5

Browse files
daschlMichael Nitschinger
authored andcommitted
Move superfluous log message from info to debug.
Motivation ---------- In every log when connecting, a message like this shows up: INFO [Memcached IO over {MemcachedConnection to ...}] (?:?) - Connection state changed for sun.nio.ch.SelectionKeyImpl@... This message is superfluous since it does not provide any addition information to the user, especially not at INFO level. Modifications ------------- The message has been moved to DEBUG level so that users are not wondering what it means and also to streamline the log a bit. Result ------ Easier log output to read and analyze for the user. Change-Id: I13ef691dd435f397dc9d5f08ff40a28202d3ddb7 Reviewed-on: http://review.couchbase.org/37647 Tested-by: Michael Nitschinger <michael.nitschinger@couchbase.com> Reviewed-by: Matt Ingenthron <matt@couchbase.com>
1 parent de62e2b commit 4aae4c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/spy/memcached/MemcachedConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ private void handleIO(final SelectionKey sk) {
637637
sk.isReadable(), sk.isWritable(), sk.isConnectable(),
638638
sk.attachment());
639639
if (sk.isConnectable() && belongsToCluster(node)) {
640-
getLogger().info("Connection state changed for %s", sk);
640+
getLogger().debug("Connection state changed for %s", sk);
641641
final SocketChannel channel = node.getChannel();
642642
if (channel.finishConnect()) {
643643
finishConnect(sk, node);

0 commit comments

Comments
 (0)