Skip to content

Commit

Permalink
linux-cp: set severity of noisy message to debug
Browse files Browse the repository at this point in the history
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 <[email protected]>
Change-Id: I9055432f7ef35d3e0ad59dce307d2b3c6284002f
  • Loading branch information
mgsmith1000 committed Dec 12, 2022
1 parent 1588222 commit d3ccb0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/linux-cp/lcp_nl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d3ccb0c

Please sign in to comment.