mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +00:00
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:
commit
7f7ddbba3c
@ -983,7 +983,7 @@ int processInlineBuffer(redisClient *c) {
|
|||||||
/* Helper function. Trims query buffer to make the function that processes
|
/* Helper function. Trims query buffer to make the function that processes
|
||||||
* multi bulk requests idempotent. */
|
* multi bulk requests idempotent. */
|
||||||
static void setProtocolError(redisClient *c, int pos) {
|
static void setProtocolError(redisClient *c, int pos) {
|
||||||
if (server.verbosity >= REDIS_VERBOSE) {
|
if (server.verbosity <= REDIS_VERBOSE) {
|
||||||
sds client = catClientInfoString(sdsempty(),c);
|
sds client = catClientInfoString(sdsempty(),c);
|
||||||
redisLog(REDIS_VERBOSE,
|
redisLog(REDIS_VERBOSE,
|
||||||
"Protocol error from client: %s", client);
|
"Protocol error from client: %s", client);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user