You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ri...@apache.org on 2021/11/09 22:02:44 UTC
[geode] branch GEM-3421-Geode-for-Redis-String-TLS-Tests updated:
Mo logging mo problems
This is an automated email from the ASF dual-hosted git repository.
ringles pushed a commit to branch GEM-3421-Geode-for-Redis-String-TLS-Tests
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/GEM-3421-Geode-for-Redis-String-TLS-Tests by this push:
new 602c530 Mo logging mo problems
602c530 is described below
commit 602c5303c06b5b9ac3f79b75342c8c843514175f
Author: Ray Ingles <ri...@vmware.com>
AuthorDate: Tue Nov 9 17:01:22 2021 -0500
Mo logging mo problems
---
.../geode/redis/internal/executor/cluster/ClusterExecutor.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/geode-for-redis/src/main/java/org/apache/geode/redis/internal/executor/cluster/ClusterExecutor.java b/geode-for-redis/src/main/java/org/apache/geode/redis/internal/executor/cluster/ClusterExecutor.java
index 0adeb99..4d7cf77 100644
--- a/geode-for-redis/src/main/java/org/apache/geode/redis/internal/executor/cluster/ClusterExecutor.java
+++ b/geode-for-redis/src/main/java/org/apache/geode/redis/internal/executor/cluster/ClusterExecutor.java
@@ -48,6 +48,7 @@ import org.apache.geode.redis.internal.executor.RedisResponse;
import org.apache.geode.redis.internal.netty.Command;
import org.apache.geode.redis.internal.netty.ExecutionHandlerContext;
import org.apache.geode.redis.internal.parameters.RedisParametersMismatchException;
+import static org.apache.geode.redis.internal.netty.Coder.bytesToString;
public class ClusterExecutor implements CommandExecutor {
@@ -59,8 +60,8 @@ public class ClusterExecutor implements CommandExecutor {
throws Exception {
List<byte[]> args = command.getProcessedCommand();
- logger.error("CLUSTER, args are:" + args);
byte[] subcommand = args.get(1);
+ logger.error("CLUSTER, arg is:" + bytesToString(args));
if (equalsIgnoreCaseBytes(subcommand, bINFO)) {
checkNumArgs(command, subcommand, 2);
@@ -151,7 +152,7 @@ public class ClusterExecutor implements CommandExecutor {
response.append("\n");
}
-
+ logger.error("CLUSTER NODES response:" + response.toString());
return RedisResponse.bulkString(response.toString());
}