projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d3856ac
)
privoxy-log-parser: Higlight "Enlisting tag 'forward-directly' for client 127.0.0.1."
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 22 Jan 2021 10:11:41 +0000
(11:11 +0100)
committer
Fabian Keil
<fk@fabiankeil.de>
Fri, 22 Jan 2021 13:26:26 +0000
(14:26 +0100)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
68bafcd
..
564f187
100755
(executable)
--- a/
tools/privoxy-log-parser.pl
+++ b/
tools/privoxy-log-parser.pl
@@
-1245,7
+1245,16
@@
sub handle_loglevel_tagging($) {
$c =~ s@(?<=^Tagger \')([^\']*)@$h{'tagger'}$1$h{'Standard'}@;
$c =~ s@(?<=added tag \')([^\']*)@$h{'tag'}$1$h{'Standard'}@;
$c =~ s@(?<=Action bits )(updated)@$h{'action-bits-update'}$1$h{'Standard'}@;
$c =~ s@(?<=^Tagger \')([^\']*)@$h{'tagger'}$1$h{'Standard'}@;
$c =~ s@(?<=added tag \')([^\']*)@$h{'tag'}$1$h{'Standard'}@;
$c =~ s@(?<=Action bits )(updated)@$h{'action-bits-update'}$1$h{'Standard'}@;
+
+ } elsif ($c =~ /^Enlisting tag/) {
+
+ # Enlisting tag 'forward-directly' for client 127.0.0.1.
+
+ $c =~ s@(?<=tag \')([^\']*)@$h{'tag'}$1$h{'Standard'}@;
+ $c = highlight_matched_host($c, '[^\s]+(?=\.$)');
+
}
}
+
return $c;
}
return $c;
}