linux: kmsg plugin: log warning instead of error

This commit is contained in:
Gustavo Moreira
2025-01-30 11:47:17 +11:00
parent 3bd1c70a9b
commit 4466d9accd
+1 -1
View File
@@ -138,7 +138,7 @@ class ABCKmsg(ABC):
def get_string(self, addr: int, length: int) -> Union[str, None]:
layer = self._context.layers[self.layer_name]
if not layer.is_valid(addr, length):
vollog.error("Failed to read log record at address 0x%x", addr)
vollog.warning("Failed to read log record at address 0x%x", addr)
return None
txt = layer.read(addr, length)