From 696b7dcba6dc7173e6a54ad4270bfd6c9b432f64 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 24 Mar 2021 10:54:32 +0100 Subject: [PATCH] privoxy-log-parser: Clarify --statistics output ... by explicitly mentioning that the status codes sent by the server may differ from the ones in "debug 512" messages. --- tools/privoxy-log-parser.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index 57a7f039..04d58656 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -2449,7 +2449,7 @@ sub print_stats() { print "HTTP version distribution unknown. No CLF message parsed yet. Is 'debug 512' enabled?\n"; } if (exists $stats{'status-code'}) { - print "HTTP status codes:\n"; + print "HTTP status codes according to 'debug 512' (status codes sent by the server may differ):\n"; foreach my $status_code (sort {$stats{'status-code'}{$b} <=> $stats{'status-code'}{$a}} keys %{$stats{'status-code'}}) { printf "%8d : %-8d\n", $stats{'status-code'}{$status_code}, $status_code; } -- 2.39.2