devserver: Use chromite's logging library
We're removing cherrypy_log_util.py and its better to just use the
chromite's version of logging.
BUG=b:186066529
TEST=./devserver.py
Cq-Depend: chromium:2856532
Change-Id: Ibec85bb3f789baf831666c04405f4291d522176a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/2856530
Tested-by: Amin Hassani <ahassani@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Ivan Brovkovich <ivanbrovkovich@chromium.org>
Commit-Queue: Amin Hassani <ahassani@chromium.org>
diff --git a/health_checker.py b/health_checker.py
index 1f816c7..0cd13ce 100644
--- a/health_checker.py
+++ b/health_checker.py
@@ -26,13 +26,13 @@
psutil = None
import setup_chromite # pylint: disable=unused-import
+from chromite.lib import cros_logging as logging
from chromite.lib import cros_update_progress
-from chromite.lib.xbuddy import cherrypy_log_util
def _Log(message, *args):
"""Module-local log function."""
- return cherrypy_log_util.LogWithTag('HEALTHCHECKER', message, *args)
+ return logging.info(message, *args)
# Number of seconds between the collection of disk and network IO counters.
STATS_INTERVAL = 10.0