summaryrefslogtreecommitdiff
path: root/src/module.c
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2020-02-27 10:26:55 +0100
committerGitHub <noreply@github.com>2020-02-27 10:26:55 +0100
commitca825701dca190f2c586e30622453dd9561e7fec (patch)
tree303a093aa359c6b8eb2ea74cddddd28b67d6c3da /src/module.c
parentf7e05dc7550c4002e4217a4da5922d9d5a27a3b6 (diff)
parent67dbc5f365ccaff65d996486a86c77e5bff390a8 (diff)
downloadredis-ca825701dca190f2c586e30622453dd9561e7fec.tar.gz
Merge pull request #6876 from MeirShpilraien/changed_log_level_of_module_fork_api
Changed log level for module fork api from 'notice' to 'verbos'.
Diffstat (limited to 'src/module.c')
-rw-r--r--src/module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/module.c b/src/module.c
index 8c61f60e2..cce3d1c11 100644
--- a/src/module.c
+++ b/src/module.c
@@ -6724,7 +6724,7 @@ int RM_Fork(RedisModuleForkDoneHandler cb, void *user_data) {
server.module_child_pid = childpid;
moduleForkInfo.done_handler = cb;
moduleForkInfo.done_handler_user_data = user_data;
- serverLog(LL_NOTICE, "Module fork started pid: %d ", childpid);
+ serverLog(LL_VERBOSE, "Module fork started pid: %d ", childpid);
}
return childpid;
}
@@ -6747,7 +6747,7 @@ int TerminateModuleForkChild(int child_pid, int wait) {
server.module_child_pid != child_pid) return C_ERR;
int statloc;
- serverLog(LL_NOTICE,"Killing running module fork child: %ld",
+ serverLog(LL_VERBOSE,"Killing running module fork child: %ld",
(long) server.module_child_pid);
if (kill(server.module_child_pid,SIGUSR1) != -1 && wait) {
while(wait4(server.module_child_pid,&statloc,0,NULL) !=