Commit 08da025f authored by antirez's avatar antirez
Browse files

CONFIG REWRITE should be logged at WARNING level.

parent efb092ba
...@@ -1827,6 +1827,7 @@ void configCommand(redisClient *c) { ...@@ -1827,6 +1827,7 @@ void configCommand(redisClient *c) {
redisLog(REDIS_WARNING,"CONFIG REWRITE failed: %s", strerror(errno)); redisLog(REDIS_WARNING,"CONFIG REWRITE failed: %s", strerror(errno));
addReplyErrorFormat(c,"Rewriting config file: %s", strerror(errno)); addReplyErrorFormat(c,"Rewriting config file: %s", strerror(errno));
} else { } else {
redisLog(REDIS_WARNING,"CONFIG REWRITE executed with success.");
addReply(c,shared.ok); addReply(c,shared.ok);
} }
} else { } else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment