[Privoxy-commits] [privoxy] 05/10: privoxy-log-parser: Higlight "Enlisting tag 'forward-directly' for client 127.0.0.1."

User Git git at git.privoxy.org
Fri Jan 22 13:31:20 UTC 2021


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 8176914ad4c1bf8de88e82909ee9b1b25e1effa3
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Fri Jan 22 11:11:41 2021 +0100

    privoxy-log-parser: Higlight "Enlisting tag 'forward-directly' for client 127.0.0.1."
---
 tools/privoxy-log-parser.pl | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index 68bafcd0..564f187b 100755
--- 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'}@;
+
+    } 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;
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list