From e42058e7c7ed0df990f2056ce40caee05159a76c Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 9 Jun 2020 08:26:29 +0200 Subject: [PATCH] privoxy-log-parser.pl: Highlight: "Waiting for the next client connection. Currently active threads: 30" --- tools/privoxy-log-parser.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index e3d1aa6a..bc1ab04b 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -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 -- 2.39.2