[autotest] Assign suite scheduler log messages to more appropriate levels
Move most log messages that indicate when events and tasks happen
up to the INFO level, leaving stuff about git/ssh operations to
the DEBUG level.
BUG=chromium-os:30741
TEST=run scheduler, with an always_handle config. Watch INFO log for messages re: events and and tasks
Change-Id: I5e6547caff939e46f43be1aade17108a38b516cf
Reviewed-on: https://gerrit.chromium.org/gerrit/22621
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Chris Sosa <sosa@chromium.org>
Commit-Ready: Chris Masone <cmasone@chromium.org>
diff --git a/site_utils/suite_scheduler/task.py b/site_utils/suite_scheduler/task.py
index 4fc255f..2b30b1a 100644
--- a/site_utils/suite_scheduler/task.py
+++ b/site_utils/suite_scheduler/task.py
@@ -220,11 +220,11 @@
@param force: Always schedule the suite.
@return True if the task should be kept, False if not
"""
- logging.debug('Running %s' % self._name)
+ logging.info('Running %s on %s', self._name, board)
builds = []
for branch, build in branch_builds.iteritems():
- logging.debug('Checking if %s fits spec %r',
- branch, self.branch_specs)
+ logging.info('Checking if %s fits spec %r',
+ branch, self.branch_specs)
if self._FitsSpec(branch):
builds.extend(build)
for build in builds: