aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-15 15:38:25 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-15 15:38:25 +0100
commit1a3ffb7e0b1ac1a56b17f6a235841c105ba02aed (patch)
tree9c3101105359b888a7ecc01a23f04fc2f998fa9f /src/rspamd.c
parent999166988513aff0f88d2fd76ac630bddaf7d992 (diff)
downloadrspamd-1a3ffb7e0b1ac1a56b17f6a235841c105ba02aed.tar.gz
rspamd-1a3ffb7e0b1ac1a56b17f6a235841c105ba02aed.zip
[Minor] Add extra logging details
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index ab065a967..cc3be3357 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -558,8 +558,9 @@ spawn_workers (struct rspamd_main *rspamd_main, struct event_base *ev_base)
}
else {
if (!cf->enabled || cf->count <= 0) {
- msg_info_main ("worker of type %s is disabled in the config, "
- "skip spawning", g_quark_to_string (cf->type));
+ msg_info_main ("worker of type %s(%s) is disabled in the config, "
+ "skip spawning", g_quark_to_string (cf->type),
+ cf->bind_conf ? cf->bind_conf->bind_line : "none");
cur = g_list_next (cur);
continue;