From 5b9afc17d28ee0f11f83c6a1cc7d17cdd942e603 Mon Sep 17 00:00:00 2001 From: Quentin Kaiser Date: Fri, 5 Jan 2024 13:26:35 +0100 Subject: [PATCH] fix(handler): lower invalid checksum log in tar handler from error to debug. Using error for signaling a false positive is too noisy. --- unblob/handlers/archive/tar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unblob/handlers/archive/tar.py b/unblob/handlers/archive/tar.py index a27e2c0a28..a9b174a6a7 100644 --- a/unblob/handlers/archive/tar.py +++ b/unblob/handlers/archive/tar.py @@ -139,7 +139,7 @@ def signed_sum(octets) -> int: return sum(b if b < 128 else 256 - b for b in octets) if header.chksum[6:8] not in (b"\x00 ", b" \x00"): - logger.error( + logger.debug( "Invalid checksum format", actual_last_2_bytes=header.chksum[6:8], handler=self.NAME,