From: William Lallemand Date: Wed, 21 Nov 2018 17:04:53 +0000 (+0100) Subject: MINOR: mworker: use ha_notice to announce a new worker X-Git-Tag: v1.9-dev8~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=220567ec3476aac163e184dae7937a96946ccaa7;p=thirdparty%2Fhaproxy.git 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(). --- diff --git a/src/haproxy.c b/src/haproxy.c index 78356213b0..6a1397a879 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 &&