CONFIG REWRITE should be logged at WARNING level.

This commit is contained in:
antirez 2014-03-04 16:39:44 +01:00
parent efb092baa6
commit 08da025f56

View File

@ -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 {