cros_sdk: switch to logging.INFO as NOTICE doesn't exist on this old branch
BUG=None
TEST=None
Change-Id: Ief2ace56e1082a25828f3d61214bbe396b294780
Reviewed-on: https://chromium-review.googlesource.com/1146057
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
diff --git a/scripts/cros_sdk.py b/scripts/cros_sdk.py
index a2cdb1d..74d4f1b 100644
--- a/scripts/cros_sdk.py
+++ b/scripts/cros_sdk.py
@@ -99,7 +99,7 @@
print('Attempting download: %s' % url)
result = retry_util.RunCurl(
['-I', url], fail=False, capture_output=False, redirect_stdout=True,
- redirect_stderr=True, print_cmd=False, debug_level=logging.NOTICE)
+ redirect_stderr=True, print_cmd=False, debug_level=logging.INFO)
successful = False
for header in result.output.splitlines():
# We must walk the output to find the 200 code for use cases where
@@ -126,7 +126,7 @@
if current_size < content_length:
retry_util.RunCurl(
['-L', '-y', '30', '-C', '-', '--output', tarball_dest, url],
- print_cmd=False, capture_output=False, debug_level=logging.NOTICE)
+ print_cmd=False, capture_output=False, debug_level=logging.INFO)
# Cleanup old tarballs now since we've successfull fetched; only cleanup
# the tarballs for our prefix, or unknown ones.