projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e230f89
)
privoxy-log-parser: Highlight 'Not shutting down client connection on socket 8. The...
author
Fabian Keil
<fk@fabiankeil.de>
Mon, 1 Apr 2024 11:31:20 +0000
(13:31 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 1 Apr 2024 11:51:23 +0000
(13:51 +0200)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
6dc5450
..
ae18c57
100755
(executable)
--- a/
tools/privoxy-log-parser.pl
+++ b/
tools/privoxy-log-parser.pl
@@
-1976,6
+1976,11
@@
sub handle_loglevel_connect($) {
$c =~ s@(?<=offset at )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=flushing )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=offset at )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=flushing )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+ } elsif ($c =~ m/^Not shutting down client connection on/) {
+
+ # Not shutting down client connection on socket 8. The socket is no longer alive.
+ $c =~ s@(?<=socket )(\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
} elsif ($c =~ m/^Looks like we / or
$c =~ m/^Unsetting keep-alive flag/ or
$c =~ m/^No connections to wait/ or