servo: use debug to log set function messages
Change set_nocheck and set_get_all logging to debug. Using info creates
a lot of noise in the info log, so this changes it to debug.
BUG=none
BRANCH=none
TEST=none
Change-Id: I4f08cb70dc333dfb74e69d26a8a91b5afeef2525
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1676544
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
diff --git a/server/cros/servo/servo.py b/server/cros/servo/servo.py
index 0e700a3..a0855f7 100644
--- a/server/cros/servo/servo.py
+++ b/server/cros/servo/servo.py
@@ -639,7 +639,7 @@
@param gpio_value New setting for the gpio.
"""
assert gpio_name and gpio_value
- logging.info('Setting %s to %r', gpio_name, gpio_value)
+ logging.debug('Setting %s to %r', gpio_name, gpio_value)
try:
self._server.set(gpio_name, gpio_value)
except xmlrpclib.Fault as e:
@@ -657,7 +657,7 @@
"""
rv = []
try:
- logging.info('Set/get all: %s', str(controls))
+ logging.debug('Set/get all: %s', str(controls))
rv = self._server.set_get_all(controls)
except xmlrpclib.Fault as e:
# TODO(waihong): Remove the following backward compatibility when