diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-05-15 15:38:25 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-05-15 15:38:25 +0100 |
commit | 1a3ffb7e0b1ac1a56b17f6a235841c105ba02aed (patch) | |
tree | 9c3101105359b888a7ecc01a23f04fc2f998fa9f /src/fuzzy_storage.c | |
parent | 999166988513aff0f88d2fd76ac630bddaf7d992 (diff) | |
download | rspamd-1a3ffb7e0b1ac1a56b17f6a235841c105ba02aed.tar.gz rspamd-1a3ffb7e0b1ac1a56b17f6a235841c105ba02aed.zip |
[Minor] Add extra logging details
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r-- | src/fuzzy_storage.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index d5410bc76..e0db2182c 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -2666,12 +2666,17 @@ fuzzy_peer_rep (struct rspamd_worker *worker, rspamd_socket_nonblocking (rep_fd); } + msg_info ("got peer fd reply from the main process"); + /* Start listening */ cur = worker->cf->listen_socks; while (cur) { ls = cur->data; if (ls->fd != -1) { + msg_info ("start listening on %s", + rspamd_inet_address_to_string_pretty (ls->addr)); + if (ls->type == RSPAMD_WORKER_SOCKET_UDP) { accept_events = g_malloc0 (sizeof (struct event) * 2); event_set (&accept_events[0], ls->fd, EV_READ | EV_PERSIST, |