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/autoupdate.py b/autoupdate.py
index 9eade41..5e74422 100644
--- a/autoupdate.py
+++ b/autoupdate.py
@@ -23,12 +23,13 @@
import nebraska
import setup_chromite # pylint: disable=unused-import
-from chromite.lib.xbuddy import cherrypy_log_util
+from chromite.lib import cros_logging as logging
# Module-local log function.
def _Log(message, *args):
- return cherrypy_log_util.LogWithTag('UPDATE', message, *args)
+ return logging.info(message, *args)
+
class AutoupdateError(Exception):
"""Exception classes used by this module."""