From 98a2afd8fdc24c225c044ec7ac4f08062d564363 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 12 Jan 2021 11:07:33 +0100 Subject: [PATCH] privoxy-log-parser: Highlight: 'Flushed 3153 bytes of request body' --- tools/privoxy-log-parser.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index 782bada1..095133ab 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -1829,6 +1829,11 @@ sub handle_loglevel_connect($) { # The last 12078 bytes of the request body have been read $c =~ s@(?<=The last )(\d+)@$h{'Number'}$1$h{'Standard'}@; + } elsif ($c =~ m/^Flushed \d+ bytes of request body/) { + + # Flushed 3153 bytes of request body + $c =~ s@(?<=Flushed )(\d+)@$h{'Number'}$1$h{'Standard'}@; + } elsif ($c =~ m/^Looks like we / or $c =~ m/^Unsetting keep-alive flag/ or $c =~ m/^No connections to wait/ or -- 2.39.2