protocol error log should be seen debug/verbose level

This commit is contained in:
Jungtaek Lim 2015-05-12 10:04:52 +09:00
parent 0610cb6296
commit 6b953a2681

View File

@ -983,7 +983,7 @@ int processInlineBuffer(redisClient *c) {
/* Helper function. Trims query buffer to make the function that processes
* multi bulk requests idempotent. */
static void setProtocolError(redisClient *c, int pos) {
if (server.verbosity >= REDIS_VERBOSE) {
if (server.verbosity <= REDIS_VERBOSE) {
sds client = catClientInfoString(sdsempty(),c);
redisLog(REDIS_VERBOSE,
"Protocol error from client: %s", client);