tests/functional: Drop the "Attempting to cache ..." log text
PATCH 1/1 tests/functional: Drop the "Attempting to cache ..." log text
From: Thomas Huth <[email protected]>
The fetch() function already either prints "Using cached asset ..." or "Downloading ... to ..." with the same file name to the log, so the "Attempting to chache ..." 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.
--- tests/functional/qemu_test/asset.py | 1 - 1 file changed, 1 deletion(-)
tests/functional/qemu_test/asset.py +0 -1
@@ -225,7 +225,6 @@ def precache_test(test): 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:
Signature · 1 line
2.51.0
Quoted 5 lines · Thomas Huth
From: Thomas Huth <[email protected]>
The
fetch()function already either prints "Using cached asset ..." or "Downloading ... to ..." with the same file name to the log, so the "Attempting to chache ..." message does not provide any
^^^^ cache
Quoted 7 lines
additional valuable information. Thus let's drop it to limit the length of the logging output to a more reasonable size.
Signed-off-by Thomas Huth <[email protected]>--- tests/functional/qemu_test/asset.py | 1 - 1 file changed, 1 deletion(-)
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|