mirror of
https://github.com/fluencelabs/redis
synced 2025-04-03 16:21:03 +00:00
CONFIG REWRITE should be logged at WARNING level.
This commit is contained in:
parent
efb092baa6
commit
08da025f56
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user