From 32defe1ce3a35a75e8f1b32b9ea4c25f0f1e0670 Mon Sep 17 00:00:00 2001 From: Patrick Bellasi Date: Tue, 23 Feb 2016 15:52:42 +0000 Subject: [PATCH] ftrace: demote info logging statement This is the only info statement which is thus clobbering the "normal" output of a client ueser for that devlib. This patch demote the logging to debug level. The user can still log-report the output file which is also an input parameter. Signed-off-by: Patrick Bellasi --- devlib/trace/ftrace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devlib/trace/ftrace.py b/devlib/trace/ftrace.py index 8340ac1..761b9d2 100644 --- a/devlib/trace/ftrace.py +++ b/devlib/trace/ftrace.py @@ -240,7 +240,7 @@ class FtraceCollector(TraceCollector): self.logger.debug("FTrace stats output [%s]...", outfile) with open(outfile, 'w') as fh: json.dump(function_stats, fh, indent=4) - self.logger.info("FTrace function stats save in [%s]", outfile) + self.logger.debug("FTrace function stats save in [%s]", outfile) return function_stats