From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 22 Jan 2021 10:12:40 +0000 (+0100)
Subject: privoxy-log-parser: Highlight "Client tag 'forward-directly' matches"
X-Git-Tag: v_3_0_30~34
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/static/developer-manual/@default-cgi@show-url-info?a=commitdiff_plain;h=0ef8c061c66fc3847e150434842c2a0552d73097;p=privoxy.git

privoxy-log-parser: Highlight "Client tag 'forward-directly' matches"
---

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index 564f187b..58d7a556 100755
--- 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;