From: Fabian Keil Date: Fri, 12 Feb 2021 20:46:26 +0000 (+0100) Subject: privoxy-log-parser: Highlight: "Evaluating tag 'change-tor-socks-port' for client... X-Git-Tag: v_3_0_32~59 X-Git-Url: http://www.privoxy.org/gitweb/show-status?a=commitdiff_plain;h=e9e27046efec68b6713fd930c165c16ed56ec5ce;p=privoxy.git privoxy-log-parser: Highlight: "Evaluating tag 'change-tor-socks-port' for client 127.0.0.1. End of life 1613162302." --- diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index 4d0ba2e7..482edf9a 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -1272,6 +1272,14 @@ sub handle_loglevel_tagging($) { $c =~ s@(?<=expired )(\d+)@$h{'Number'}$1$h{'Standard'}@; $c = highlight_matched_host($c, '(?<=client )[^\s]+'); + } elsif ($c =~ /^Evaluating/) { + + # Evaluating tag 'change-tor-socks-port' for client 127.0.0.1. End of life 1613162302. + + $c =~ s@(?<=tag \')([^\']*)@$h{'tag'}$1$h{'Standard'}@; + $c = highlight_matched_host($c, '(?<=client )[^\s]+(?=\.)'); + $c =~ s@(?<=life )(\d+)@$h{'Number'}$1$h{'Standard'}@; + } elsif ($c =~ /^Client tag/) { # Client tag 'forward-directly' matches