projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8176914
)
privoxy-log-parser: Highlight "Client tag 'forward-directly' matches"
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 22 Jan 2021 10:12:40 +0000
(11:12 +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
564f187
..
58d7a55
100755
(executable)
--- a/
tools/privoxy-log-parser.pl
+++ b/
tools/privoxy-log-parser.pl
@@
-1253,6
+1253,12
@@
sub handle_loglevel_tagging($) {
$c =~ s@(?<=tag \')([^\']*)@$h{'tag'}$1$h{'Standard'}@;
$c = highlight_matched_host($c, '[^\s]+(?=\.$)');
+ } elsif ($c =~ /^Client tag/) {
+
+ # Client tag 'forward-directly' matches
+
+ $c =~ s@(?<=tag \')([^\']*)@$h{'tag'}$1$h{'Standard'}@;
+
}
return $c;