Skip to content
This repository was archived by the owner on Feb 26, 2019. It is now read-only.

Commit 76afbf5

Browse files
tighten console logging level
1 parent de2ad52 commit 76afbf5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pip/_internal/download.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,8 @@ def download(self, target_relpath, dest_dir, dest_filename):
389389
# You may turn toggle this behaviour using the "enable_logging" flag in the
390390
# TUF configuration file.
391391
tuf.settings.ENABLE_FILE_LOGGING = False
392-
logging.getLogger("tuf").setLevel(logging.WARNING)
392+
# NOTE: We set the TUF console logging level to CRITICAL and above.
393+
logging.getLogger("tuf").setLevel(logging.CRITICAL)
393394
from tuf.client.updater import Updater
394395

395396
from in_toto import verifylib

0 commit comments

Comments
 (0)