cgroup: demote info logging statement
The info statements are clobbering the "normal" output of devlib users.
This patch demote the logging to debug level. The user can still
log-report these information from the corresponding functions call site.
Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
diff --git a/devlib/module/cgroups.py b/devlib/module/cgroups.py
index ce10d01..1d7a24a 100644
--- a/devlib/module/cgroups.py
+++ b/devlib/module/cgroups.py
@@ -68,7 +68,7 @@
self.mount_point),
as_root=True)
- self.logger.info('Controller %s mounted under: %s',
+ self.logger.debug('Controller %s mounted under: %s',
self.kind, self.mount_point)
# Mark this contoller as available
@@ -147,7 +147,7 @@
if not create:
return
- self.logger.info('Creating cgroup %s', self.directory)
+ self.logger.debug('Creating cgroup %s', self.directory)
self.target.execute('[ -d {0} ] || mkdir -p {0}'\
.format(self.directory), as_root=True)
@@ -237,7 +237,7 @@
subsys = self.list_subsystems()
for (n, h, c, e) in subsys:
controllers.append(n)
- self.logger.info('Available controllers: %s', controllers)
+ self.logger.debug('Available controllers: %s', controllers)
# Initialize controllers
self.controllers = {}