cros flash: increase visibility of the downloaded image version reporting
When using xbuddy:// naming scheme and specifying "latest" in the
argument, it is not clear what version is actually being retrieved
from the server.
Let's increase visibility of the log message informing user what's
coming to their device.
BRANCH=none
BUG=none
TEST=ran the following command:
$ cros flash ssh://172.22.30.129 xbuddy://remote/reef/latest-dev/test
observed the following in the log:
16:40:59: NOTICE: Using image reef-release/R62-9868.0.0/chromiumos_test_image.bin
Change-Id: I075eda3674df1d4cd4a23b60e99ebc3a04f0a82b
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/627627
Reviewed-by: Don Garrett <dgarrett@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/cli/flash.py b/cli/flash.py
index c0f8bcb..ef2b1d1 100644
--- a/cli/flash.py
+++ b/cli/flash.py
@@ -416,7 +416,7 @@
translated_path, resolved_path = ds_wrapper.GetImagePathWithXbuddy(
self.image, self.board, static_dir=DEVSERVER_STATIC_DIR,
lookup_only=True)
- logging.info('Using image %s', translated_path)
+ logging.notice('Using image %s', translated_path)
# Convert the translated path to be used in the update request.
image_path = ds_wrapper.ConvertTranslatedPath(resolved_path,
translated_path)