From: Fabian Keil Date: Fri, 5 Feb 2021 04:13:29 +0000 (+0100) Subject: privoxy-log-parser.pl: Let gather_loglevel_clf_stats() tolerate another 'invalid... X-Git-Tag: v_3_0_32~74 X-Git-Url: http://www.privoxy.org/gitweb/whatsnew.html?a=commitdiff_plain;h=9e4173b5fa821e75adb40b725d92074e99ed7177;p=privoxy.git privoxy-log-parser.pl: Let gather_loglevel_clf_stats() tolerate another 'invalid' log message --- diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index 694d5fe7..ed574c7f 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -2149,6 +2149,8 @@ sub gather_loglevel_clf_stats($) { unless (defined $method) { # +0200] "Invalid request" 400 0 return if ($content =~ m/^[+-]\d{4}\] "Invalid request"/); + # +0100] "Failed reading chunked client body" 400 0 + return if ($content =~ m/^[+-]\d{4}\] "Failed reading chunked client body"/); # +0100] "GET https://securepubads.g.doubleclick.net/gampad/ads?gd[...]... [too long, truncated] if ($content =~ m/\[too long, truncated\]$/) { print("Skipped LOG_LEVEL_CLF message that got truncated by Privoxy. Statistics will be inprecise.\n");