summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthew Smith <mgsmith@netgate.com>2022-12-02 21:00:03 +0000
committerMatthew Smith <mgsmith@netgate.com>2022-12-12 14:48:22 +0000
commitd3ccb0c2fba3e3f8b2eca7b2e1a1fe2877eb993b (patch)
treef966dbcc036351293b9c804a3558c34021fc952b /src
parent1588222e72d19cc769ad0fa9b60349819e2e328f (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/plugins/linux-cp/lcp_nl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/linux-cp/lcp_nl.c b/src/plugins/linux-cp/lcp_nl.c
index 176d85de777..8f2bffd6e99 100644
--- a/src/plugins/linux-cp/lcp_nl.c
+++ b/src/plugins/linux-cp/lcp_nl.c
@@ -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;
}