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:
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);
}