]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/functional: Drop the "Attempting to cache ..." log text
authorThomas Huth <thuth@redhat.com>
Mon, 6 Oct 2025 17:03:04 +0000 (19:03 +0200)
committerThomas Huth <thuth@redhat.com>
Fri, 10 Oct 2025 08:02:50 +0000 (10:02 +0200)
The fetch() function already either prints "Using cached asset ..."
or "Downloading ... to ..." with the same file name to the log,
so the "Attempting to cache ..." message does not provide any
additional valuable information. Thus let's drop it to limit the
length of the logging output to a more reasonable size.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20251006170304.197387-1-thuth@redhat.com>

tests/functional/qemu_test/asset.py

index 2971a989d1ec8743e57d682f26f4f20dae9043f8..f666125bfaf9ee821be8fd26be03fd58b33c60f2 100644 (file)
@@ -225,7 +225,6 @@ class Asset:
         log.addHandler(handler)
         for name, asset in vars(test.__class__).items():
             if name.startswith("ASSET_") and type(asset) == Asset:
-                log.info("Attempting to cache '%s'" % asset)
                 try:
                     asset.fetch()
                 except AssetError as e: