summaryrefslogtreecommitdiff
path: root/proto_text.c
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2022-04-06 16:59:18 -0700
committerdormando <dormando@rydia.net>2022-04-08 13:19:26 -0700
commit43a5d6832bce062587c9c088797f0eec46c1ded8 (patch)
treedc38f8278bb90a63a0d00e9fdb7da139565b97dd /proto_text.c
parent88e7960d21865d48f68b2463515dedde66cd9ae8 (diff)
downloadmemcached-43a5d6832bce062587c9c088797f0eec46c1ded8.tar.gz
proxy: replace proxycmds stream with proxyreqs
delete the magic logging and require mcp.log_req* be used if you want those types of entries to appear. keeps a separate data stream from "proxyuser" just in case that's useful. proxycmds wasn't able to get enough context to autogenerate useful log lines, so I'd rather not have it in there at all.
Diffstat (limited to 'proto_text.c')
-rw-r--r--proto_text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto_text.c b/proto_text.c
index 26e8eec..d794514 100644
--- a/proto_text.c
+++ b/proto_text.c
@@ -2291,8 +2291,8 @@ static void process_watch_command(conn *c, token_t *tokens, const size_t ntokens
f |= LOG_SYSEVENTS;
} else if ((strcmp(tokens[x].value, "connevents") == 0)) {
f |= LOG_CONNEVENTS;
- } else if ((strcmp(tokens[x].value, "proxycmds") == 0)) {
- f |= LOG_PROXYCMDS;
+ } else if ((strcmp(tokens[x].value, "proxyreqs") == 0)) {
+ f |= LOG_PROXYREQS;
} else if ((strcmp(tokens[x].value, "proxyevents") == 0)) {
f |= LOG_PROXYEVENTS;
} else if ((strcmp(tokens[x].value, "proxyuser") == 0)) {