diff mbox series

trace-cmd: Quiet the warnings

Message ID 20221110022341.7a719ec3@rorschach.local.home (mailing list archive)
State Accepted
Commit a8555c4fb73e9f1816d2bb2360117406039815d8
Headers show
Series trace-cmd: Quiet the warnings | expand

Commit Message

Steven Rostedt Nov. 10, 2022, 7:23 a.m. UTC
From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

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")
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
---
 tracecmd/trace-read.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tracecmd/trace-read.c b/tracecmd/trace-read.c
index d51e3371..224a6dde 100644
--- a/tracecmd/trace-read.c
+++ b/tracecmd/trace-read.c
@@ -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;