[PATCH] trace-cmd: Quiet the warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx>

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@xxxxxxxxxxx>
---
 tracecmd/trace-read.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
2.35.1




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux