From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 11 Jan 2021 07:48:39 +0000 (+0100)
Subject: privoxy-log-parser: Highlight 'The last 12078 bytes of the request body have been... 
X-Git-Tag: v_3_0_30~108
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/static/@default-cgi@send-stylesheet?a=commitdiff_plain;h=4fe4a728a973dea0fd69e57c0f6905914bbdbc60;p=privoxy.git

privoxy-log-parser: Highlight 'The last 12078 bytes of the request body have been read'
---

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index 5e52de06..782bada1 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -1824,6 +1824,11 @@ sub handle_loglevel_connect($) {
         $c =~ s@(?<=client socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
         $c =~ s@(?<=server socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
 
+    } elsif ($c =~ m/^The last \d+ bytes of the request body have been read/) {
+
+        # The last 12078 bytes of the request body have been read
+        $c =~ s@(?<=The last )(\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