mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Reduce trace level for single bad entries in downloaded lists
This commit is contained in:
parent
b30620ef49
commit
7d20029cf6
1 changed files with 1 additions and 1 deletions
|
|
@ -508,7 +508,7 @@ local function loadListItem(host, category, user_custom_categories, list, num_li
|
|||
-- Domain
|
||||
if((not list) or (list.format ~= "ip")) then
|
||||
if((string.len(host) < 4) or (string.find(host, "%.") == nil)) then
|
||||
traceError(TRACE_WARNING, TRACE_CONSOLE, string.format("Bad domain name '%s' in list '%s' [line: %u]", host, list and list.name, num_line))
|
||||
traceError(TRACE_INFO, TRACE_CONSOLE, string.format("Bad domain name '%s' in list '%s' [line: %u]", host, list and list.name, num_line))
|
||||
else
|
||||
ntop.loadCustomCategoryHost(host, category)
|
||||
return "domain"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue