From 220567ec3476aac163e184dae7937a96946ccaa7 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Wed, 21 Nov 2018 18:04:53 +0100 Subject: [PATCH] MINOR: mworker: use ha_notice to announce a new worker Displays the PID and the relative PID when we fork a new worker with ha_notice(). --- src/haproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/haproxy.c b/src/haproxy.c index 78356213b..6a1397a87 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -3003,7 +3003,7 @@ int main(int argc, char **argv) if (global.mode & MODE_MWORKER) { struct mworker_proc *child; - qfprintf(stdout, "New worker #%d (%d) forked\n", relative_pid, ret); + ha_notice("New worker #%d (%d) forked\n", relative_pid, ret); /* find the right mworker_proc */ list_for_each_entry(child, &proc_list, list) { if (child->relative_pid == relative_pid &&