aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-05 16:57:06 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-05 16:57:06 +0100
commit0b46aefebed805c202b9c44accd6b457744c4c18 (patch)
treeecf73812f4bc824797240ee9b372bc6b6bd1a1c9 /src
parent8d2d6d3d26098b94339500563dc5df92c4d26e45 (diff)
downloadrspamd-0b46aefebed805c202b9c44accd6b457744c4c18.tar.gz
rspamd-0b46aefebed805c202b9c44accd6b457744c4c18.zip
[Minor] Print worker index when starting it
Diffstat (limited to 'src')
-rw-r--r--src/libserver/worker_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c
index 98da2ce9a..4043f79a3 100644
--- a/src/libserver/worker_util.c
+++ b/src/libserver/worker_util.c
@@ -584,7 +584,8 @@ rspamd_fork_worker (struct rspamd_main *rspamd_main,
g_thread_init (NULL);
# endif
#endif
- msg_info_main ("starting %s process %P", cf->worker->name, getpid ());
+ msg_info_main ("starting %s process %P (%d)", cf->worker->name,
+ getpid (), index);
/* Close parent part of socketpair */
close (wrk->control_pipe[0]);
close (wrk->srv_pipe[0]);