From 73f5028fcab08613833c9f2b432f660c70ac264e Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Sat, 12 Oct 2024 16:06:32 +0800 Subject: [PATCH] update collect log --- src/python/sentryCollector/collect_io.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/python/sentryCollector/collect_io.py b/src/python/sentryCollector/collect_io.py index 2b10cde..f699c3c 100644 --- a/src/python/sentryCollector/collect_io.py +++ b/src/python/sentryCollector/collect_io.py @@ -156,7 +156,7 @@ class CollectIo(): for line in file: count += line.count('.op=' + Io_Category[category].upper()) if count > 0: - logging.info(f"io_dump info : {disk_name}, {stage}, {category}, {count}") + logging.info(f"io_dump info : {disk_name}, {stage}, {Io_Category[category]}, {count}") except FileNotFoundError: logging.error("The file %s does not exist.", io_dump_file) return count -- 2.33.0