Skip to content

Commit 4fa76a5

Browse files
committed
fix: extend universal ignore for additional specific squid error entries in log parsing
1 parent 856f0f8 commit 4fa76a5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

parsers/log.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,10 @@ def parse_log_line(line):
113113
# Universal ignore for specific squid error entries (apply regardless of LOG_FORMAT)
114114
try:
115115
line_lower = line.lower() if isinstance(line, str) else ""
116-
if "error:transaction-end-before-headers" in line_lower:
116+
if (
117+
"error:transaction-end-before-headers" in line_lower
118+
or "error:invalid-request" in line_lower
119+
):
117120
return None
118121
except Exception:
119122
pass

0 commit comments

Comments
 (0)