]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Log some data about tld loading
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 25 Feb 2019 17:01:34 +0000 (17:01 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 25 Feb 2019 17:01:34 +0000 (17:01 +0000)
src/libserver/url.c

index 13c324e7ae7659b8e697828f59668f04af3d54b2..b14d1cfa7248b9c1a77419a658f7e23f79b27fab 100644 (file)
@@ -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 {                                                \