APKINDEX not found: Only show in verbose log (#1250)

The message appears 20 or so times in a row when setting up a new
chroot. Right now we log it into the debug log (which is what
"pmbootstrap log" and "pmbootstrap --details-to-stdout" show). This
is annoying for normal pmbootstrap usage, and really clutters up the
Travis output.

This commit changes the log level to verbose, so it only shows up
when "-v" is passed to pmbootstrap.
This commit is contained in:
Oliver Smith 2018-02-24 08:03:34 +00:00 committed by GitHub
parent 5514584f71
commit 8f5ffe0589
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -178,8 +178,8 @@ def parse(args, path, multiple_providers=True):
"""
# Require the file to exist
if not os.path.isfile(path):
logging.debug("NOTE: APKINDEX not found, assuming no binary packages"
" exist for that architecture: " + path)
logging.verbose("NOTE: APKINDEX not found, assuming no binary packages"
" exist for that architecture: " + path)
return {}
# Try to get a cached result first