projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
privoxy-log-parser: Highlight 'Not shutting down client connection on socket 8. The...
[privoxy.git]
/
tools
/
privoxy-log-parser.pl
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