Skip to contentSkip to conversation

trace-cmd: Quiet the warnings

PATCH New Steven Rostedt 1 participant 1 message Nov 10, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trace-cmd: Quiet the warnings

From: "Steven Rostedt (Google)" <[email protected]>

Set the default loglevel to TEP_LOG_ERROR, as TEP_LOG_WARNING is adds a lot of noise.

Fixes 51ae62947 ("trace-cmd library: Only set trace-cmd log level")
---
 tracecmd/trace-read.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tracecmd/trace-read.c +1 -1
index d51e3371..224a6dde 100644
@@ -1565,7 +1565,7 @@ void trace_report (int argc, char **argv)
 
 	signal(SIGINT, sig_end);
 
-	trace_set_loglevel(TEP_LOG_INFO);
+	trace_set_loglevel(TEP_LOG_ERROR);
 
 	for (;;) {
 		int option_index = 0;
Signature · 1 line
2.35.1