Removed unnecessary logging
This commit is contained in:
@ -1034,9 +1034,7 @@ class SystemHealthMonitor:
|
||||
|
||||
:param size_str: String containing size with unit (e.g. '15.7G', '21.8T')
|
||||
:return: Size in bytes as float
|
||||
"""
|
||||
logger.debug(f"Parsing size string: {size_str}")
|
||||
|
||||
"""
|
||||
try:
|
||||
# Skip non-size strings
|
||||
if not isinstance(size_str, str):
|
||||
@ -1071,11 +1069,8 @@ class SystemHealthMonitor:
|
||||
|
||||
unit = unit_match.group(1)
|
||||
|
||||
logger.debug(f"Extracted value: {value}, unit: {unit}")
|
||||
|
||||
# Convert to bytes
|
||||
bytes_value = value * multipliers.get(unit, 0)
|
||||
logger.debug(f"Converted size to bytes: {bytes_value}")
|
||||
|
||||
return bytes_value
|
||||
|
||||
@ -1999,8 +1994,6 @@ class SystemHealthMonitor:
|
||||
|
||||
# Fix: Use fs_line instead of line, and columns consistently
|
||||
columns = fs_line.split()
|
||||
logger.debug(f"Processing df line: {fs_line}")
|
||||
logger.debug(f"Split columns: {columns}")
|
||||
|
||||
if len(columns) >= 6:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user