From 8176914ad4c1bf8de88e82909ee9b1b25e1effa3 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 22 Jan 2021 11:11:41 +0100 Subject: [PATCH] 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; } -- 2.39.2