linux-cp: set severity of noisy message to debug

Type: improvement

The log buffer and event buffer get lots of messages written like
"Processed 2 messages" by linux-nl when its enabled. This can crowd out
more important messages and should only actually be stored if debug
messages are desired. Change from logging with NL_INFO() to NL_DBG().

Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Change-Id: I9055432f7ef35d3e0ad59dce307d2b3c6284002f
This commit is contained in:
Matthew Smith
2022-12-02 21:00:03 +00:00
parent 1588222e72
commit d3ccb0c2fb

View File

@ -353,7 +353,7 @@ nl_route_process_msgs (void)
if (n_msgs)
vec_delete (nm->nl_msg_queue, n_msgs, 0);
NL_INFO ("Processed %u messages", n_msgs);
NL_DBG ("Processed %u messages", n_msgs);
return n_msgs;
}