kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 23b95448cc614aef03946666f2531541941e2e90
parent 0af7258c302a28276cac067b860bd08f0c64c106
Author: Joris Vink <joris@coders.se>
Date:   Tue,  5 Oct 2021 12:29:50 +0200

Hide worker logs behind kore_quiet.

Diffstat:
src/worker.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 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); }