Skip to content

Commit

Permalink
Merge pull request conda#10621 from awwad/av_noise_reduction
Browse files Browse the repository at this point in the history
AV: logs: correct log level for root metadata retrieval
  • Loading branch information
dbast authored Apr 16, 2021
2 parents df7655a + 04859c5 commit b6d32c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conda/core/subdir_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ def _refresh_signing_root(self):
latest_root_id, latest_root_path = cur_id, cur_path

if latest_root_path is None:
log.warn(f"Could not find root metadata in {context.av_data_dir}. "
"Falling back to built-in default.")
log.debug(f"No root metadata in {context.av_data_dir}. "
"Using built-in root metadata.")
else:
log.info(f"Loading root metadata from {latest_root_path}.")
self._trusted_root = load_trust_metadata_from_file(latest_root_path)
Expand All @@ -266,7 +266,7 @@ def _refresh_signing_root(self):
next_root_path = join(context.av_data_dir, next_root_fname)
try:
update_url = f"{self.channel.base_url}/{next_root_fname}"
log.info(f"Attempting to fetch updated trust root {update_url}")
log.info(f"Fetching updated trust root if it exists: {update_url}")

# TODO (AV): support fetching root data with credentials
untrusted_root = fetch_channel_signing_data(
Expand Down

0 comments on commit b6d32c8

Please sign in to comment.