privoxy-log-parser: Highlight: 'Flushed 3153 bytes of request body'
authorFabian Keil <fk@fabiankeil.de>
Tue, 12 Jan 2021 10:07:33 +0000 (11:07 +0100)
committerFabian Keil <fk@fabiankeil.de>
Mon, 18 Jan 2021 13:21:16 +0000 (14:21 +0100)
tools/privoxy-log-parser.pl

index 782bada..095133a 100755 (executable)
@@ -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