aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/dns.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-28 15:10:55 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-28 15:10:55 +0100
commita69912aab3e395f76a5f2c28b14e8d94f833758b (patch)
treef44e095d2b2321775c414c158708e0a02863ffd4 /src/libserver/dns.c
parentaf386443b81dceacd31d88f31371f23f2ad14098 (diff)
downloadrspamd-a69912aab3e395f76a5f2c28b14e8d94f833758b.tar.gz
rspamd-a69912aab3e395f76a5f2c28b14e8d94f833758b.zip
Start migration to more verbose logger.
Diffstat (limited to 'src/libserver/dns.c')
-rw-r--r--src/libserver/dns.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libserver/dns.c b/src/libserver/dns.c
index f86190415..3c6a3efe6 100644
--- a/src/libserver/dns.c
+++ b/src/libserver/dns.c
@@ -177,9 +177,8 @@ dns_resolver_init (rspamd_logger_t *logger,
if (cfg != NULL) {
rdns_resolver_set_log_level (new->r, cfg->log_level);
}
- rdns_resolver_set_logger (new->r,
- (rdns_log_function)rspamd_common_logv,
- logger);
+ rspamd_common_logv (new->r, (rdns_log_function) rspamd_common_logv, NULL,
+ NULL, logger, NULL, NULL);
if (cfg == NULL || cfg->nameservers == NULL) {
/* Parse resolv.conf */