From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 29 May 2020 16:42:50 +0000 (+0200)
Subject: privoxy-log-parser.pl: Get with the program and expect all requests to be logged... 
X-Git-Tag: v_3_0_29~349
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/developer-manual/@default-cgi@toggle?a=commitdiff_plain;h=e7504bc541889af91127fdc6150b72537aac7f52;p=privoxy.git

privoxy-log-parser.pl: Get with the program and expect all requests to be logged with LOG_LEVEL_REQUEST

It's no longer necessary to count both LOG_LEVEL_REQUEST
and LOG_LEVEL_CRUNCH messages to get the total number of
requests.
---

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index 9178d146..580fbac0 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -2024,7 +2024,6 @@ sub gather_loglevel_crunch_stats ($$) {
     my $thread = shift;
     our %stats;
 
-    $stats{requests}++;
     $stats{crunches}++;
 
     if ($c =~ m/^Redirected:/) {