mirror of https://git.kore.io/kore.git
sprinkle kore_quiet around
This commit is contained in:
parent
01cc981632
commit
6f31e14e83
|
@ -1777,7 +1777,8 @@ configure_deployment(char *value)
|
|||
return (KORE_RESULT_ERROR);
|
||||
}
|
||||
|
||||
kore_log(LOG_NOTICE, "deployment set to %s", value);
|
||||
if (!kore_quiet)
|
||||
kore_log(LOG_NOTICE, "deployment set to %s", value);
|
||||
|
||||
return (KORE_RESULT_OK);
|
||||
}
|
||||
|
|
|
@ -265,8 +265,10 @@ msg_disconnected_worker(struct connection *c)
|
|||
static void
|
||||
msg_type_shutdown(struct kore_msg *msg, const void *data)
|
||||
{
|
||||
kore_log(LOG_NOTICE,
|
||||
"shutdown requested by worker %u, going down", msg->src);
|
||||
if (!kore_quiet) {
|
||||
kore_log(LOG_NOTICE,
|
||||
"shutdown requested by worker %u, going down", msg->src);
|
||||
}
|
||||
|
||||
(void)raise(SIGQUIT);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue