projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eedfdc
)
privoxy-log-parser: Highlight 'The socks connection timed out after 60 seconds.'
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 17 Apr 2022 01:33:22 +0000
(
03:33
+0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 17 Apr 2022 08:07:20 +0000
(10:07 +0200)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
0b0a4dc
..
9d5e6de
100755
(executable)
--- a/
tools/privoxy-log-parser.pl
+++ b/
tools/privoxy-log-parser.pl
@@
-2156,6
+2156,10
@@
sub handle_loglevel_error($) {
$c =~ s@(?<=digested )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=of )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+ } elsif ($c =~ m/^The socks connection timed out after/) {
+
+ # The socks connection timed out after 60 seconds.
+ $c =~ s@(?<=after )(\d+)@$h{'Number'}$1$h{'Standard'}@;
}
# XXX: There are probably more messages that deserve highlighting.