From 467d6bd4630ceb2a207e8c78a685fb88a89dfdf7 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 25 Feb 2019 17:01:34 +0000 Subject: [PATCH] [Minor] Log some data about tld loading --- src/libserver/url.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libserver/url.c b/src/libserver/url.c index 13c324e7a..b14d1cfa7 100644 --- a/src/libserver/url.c +++ b/src/libserver/url.c @@ -539,8 +539,10 @@ rspamd_url_init (const gchar *tld_file) g_error_free (err); } - msg_debug ("initialized trie of %ud elements", - url_scanner->matchers->len); + if (tld_file != NULL) { + msg_info ("initialized %ud url tld suffixes from '%s'", + url_scanner->matchers->len, tld_file); + } } #define SET_U(u, field) do { \ -- 2.39.5