mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05: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…
Reference in New Issue
Block a user