From f14f5e0d72f4f4b59c5303bd425e859e333b6852 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Tue, 28 Jan 2020 18:21:24 -0700 Subject: [PATCH] Adjusted logging --- scripts/wk/hw/diags.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/wk/hw/diags.py b/scripts/wk/hw/diags.py index 92462251..03e9628a 100644 --- a/scripts/wk/hw/diags.py +++ b/scripts/wk/hw/diags.py @@ -762,7 +762,7 @@ def disk_io_benchmark(state, test_objects, skip_usb=True): if PLATFORM == 'Darwin': # Use "RAW" disks under macOS dev_path = dev_path.with_name(f'r{dev_path.name}') - LOG.info(f'Using {dev_path} for better performance') + LOG.info('Using %s for better performance', dev_path) offset = 0 read_rates = [] test_obj.report.append(std.color_string('I/O Benchmark', 'BLUE')) @@ -984,7 +984,7 @@ def disk_surface_scan(state, test_objects): if PLATFORM == 'Darwin': # Use "RAW" disks under macOS dev_path = dev_path.with_name(f'r{dev_path.name}') - LOG.info(f'Using {dev_path} for better performance') + LOG.info('Using %s for better performance', dev_path) test_obj.report.append(std.color_string('badblocks', 'BLUE')) test_obj.set_status('Working')