privoxy-log-parser: Highlight 'Keeping chunk offset at 0 despite flushing 31 bytes.'
authorFabian Keil <fk@fabiankeil.de>
Sun, 17 Mar 2024 18:00:05 +0000 (19:00 +0100)
committerFabian Keil <fk@fabiankeil.de>
Wed, 20 Mar 2024 11:38:39 +0000 (12:38 +0100)
tools/privoxy-log-parser.pl

index 29b8e1e..b499237 100755 (executable)
@@ -1970,6 +1970,12 @@ sub handle_loglevel_connect($) {
         $c = highlight_matched_url($c, "(?<=error message for )[^ ]*");
         $c =~ s@(?<=client socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
 
+    } elsif ($c =~ m/^Keeping chunk offset at/) {
+
+        # Keeping chunk offset at 0 despite flushing 31 bytes.
+        $c =~ s@(?<=offset at )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+        $c =~ s@(?<=flushing )(\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