projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5b8825
)
privoxy-log-parser.pl: Highlight: "Waiting for the next client connection. Currently...
author
Fabian Keil
<fk@fabiankeil.de>
Tue, 9 Jun 2020 06:26:29 +0000
(08:26 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Tue, 9 Jun 2020 09:19:47 +0000
(11:19 +0200)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
e3d1aa6
..
bc1ab04
100755
(executable)
--- 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