Merge pull request #2573 from HeartSaVioR/fix-protocol-error-log-level

protocol error log should be seen by debug/verbose level
This commit is contained in:
Salvatore Sanfilippo 2015-05-15 17:06:18 +02:00
commit 7f7ddbba3c

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);