From 23b95448cc614aef03946666f2531541941e2e90 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Tue, 5 Oct 2021 12:29:50 +0200 Subject: [PATCH] Hide worker logs behind kore_quiet. --- src/worker.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/worker.c b/src/worker.c index 3c13a8a..1f32f33 100644 --- a/src/worker.c +++ b/src/worker.c @@ -146,7 +146,8 @@ kore_worker_init(void) kw->lb.offset = 0; } - kore_log(LOG_INFO, "starting worker processes"); + if (!kore_quiet) + kore_log(LOG_INFO, "starting worker processes"); /* Now start all the workers. */ id = 1; @@ -174,7 +175,8 @@ kore_worker_init(void) return (KORE_RESULT_ERROR); } - kore_log(LOG_INFO, "all worker processes started"); + if (!kore_quiet) + kore_log(LOG_INFO, "all worker processes started"); return (KORE_RESULT_OK); }