Browse Source

[Minor] Log some data about tld loading

tags/1.9.0
Vsevolod Stakhov 5 years ago
parent
commit
467d6bd463
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      src/libserver/url.c

+ 4
- 2
src/libserver/url.c View 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 { \

Loading…
Cancel
Save