privoxy-log-parser.pl: Highlight: "Waiting for the next client connection. Currently...
authorFabian Keil <fk@fabiankeil.de>
Tue, 9 Jun 2020 06:26:29 +0000 (08:26 +0200)
committerFabian Keil <fk@fabiankeil.de>
Tue, 9 Jun 2020 09:19:47 +0000 (11:19 +0200)
tools/privoxy-log-parser.pl

index e3d1aa6..bc1ab04 100755 (executable)
@@ -1759,6 +1759,11 @@ sub handle_loglevel_connect($) {
         # Forwarded the last 1954 bytes
         $c =~ s@(?<=the last )(\d+)@$h{'Number'}$1$h{'Standard'}@;
 
+    } elsif ($c =~ m/^Waiting for the next client connection. Currently active threads:/) {
+
+        # Waiting for the next client connection. Currently active threads: 30
+        $c =~ s@(?<=threads: )(\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