mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05:00
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().
This commit is contained in:
parent
9c56a22b20
commit
220567ec34
1 changed files with 1 additions and 1 deletions
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue