privoxy-log-parser: Highlight 'Reducing the chunk offset from 16219 to 128 after...
authorFabian Keil <fk@fabiankeil.de>
Thu, 26 May 2022 14:10:49 +0000 (16:10 +0200)
committerFabian Keil <fk@fabiankeil.de>
Fri, 10 Jun 2022 09:43:39 +0000 (11:43 +0200)
tools/privoxy-log-parser.pl

index 3265ac7..f27188c 100755 (executable)
@@ -1933,9 +1933,11 @@ sub handle_loglevel_connect($) {
     } elsif ($c =~ m/^Reducing the chunk offset from/) {
 
         # Reducing the chunk offset from 1096654 to 32704 after discarding 1063950 bytes to make room in the buffer.
     } elsif ($c =~ m/^Reducing the chunk offset from/) {
 
         # Reducing the chunk offset from 1096654 to 32704 after discarding 1063950 bytes to make room in the buffer.
+        # Reducing the chunk offset from 16219 to 128 after flushing 16091 bytes.
         $c =~ s@(?<=\d to )(\d+)@$h{'Number'}$1$h{'Standard'}@;
         $c =~ s@(?<=offset from )(\d+)@$h{'Number'}$1$h{'Standard'}@;
         $c =~ s@(?<=after discarding )(\d+)@$h{'Number'}$1$h{'Standard'}@;
         $c =~ s@(?<=\d to )(\d+)@$h{'Number'}$1$h{'Standard'}@;
         $c =~ s@(?<=offset from )(\d+)@$h{'Number'}$1$h{'Standard'}@;
         $c =~ s@(?<=after discarding )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+        $c =~ s@(?<=after flushing )(\d+)@$h{'Number'}$1$h{'Standard'}@;
 
     } elsif ($c =~ m/^Looks like we / or
              $c =~ m/^Unsetting keep-alive flag/ or
 
     } elsif ($c =~ m/^Looks like we / or
              $c =~ m/^Unsetting keep-alive flag/ or