From: William Lallemand Date: Tue, 6 Nov 2018 16:37:15 +0000 (+0100) Subject: MINOR: mworker: displays a message when a worker is forked X-Git-Tag: v1.9-dev6~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5d05db8ce1af46337a30ea5e399897fe459b36c6;p=thirdparty%2Fhaproxy.git MINOR: mworker: displays a message when a worker is forked Displays the PID and the relative PID when we fork a new worker. --- diff --git a/src/haproxy.c b/src/haproxy.c index 62b9d1a784..cfa740d61d 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -2997,6 +2997,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); /* find the right mworker_proc */ list_for_each_entry(child, &proc_list, list) { if (child->relative_pid == relative_pid &&