[Privoxy-commits] [privoxy] 04/38: privoxy-log-parser: Highlight listen address in "Evaluating tag 'forward-directly' for client 127.0.0.1 using 127.0.1.1:8120. End of life 1774948202."
User Git
git at git.privoxy.org
Thu Apr 9 09:37:02 CEST 2026
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit cb4088da5204f27e0a06018b867b34bb9acee501
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Tue Mar 31 11:17:09 2026 +0200
privoxy-log-parser: Highlight listen address in "Evaluating tag 'forward-directly' for client 127.0.0.1 using 127.0.1.1:8120. End of life 1774948202."
---
tools/privoxy-log-parser.pl | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index 9f417f33..f24d70eb 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -1293,10 +1293,14 @@ sub handle_loglevel_tagging($) {
} elsif ($c =~ /^Evaluating/) {
+ # >= 4.2.0:
+ # Evaluating tag 'forward-directly' for client 127.0.0.1 using 127.0.1.1:8120. End of life 1774948202.
+ # < 4.2.0:
# 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 = highlight_matched_host($c, '(?<=client )[^\s]+(?=[. ])');
+ $c =~ s@(?<=using )(.*)(?=\. )@$h{'listen-address'}$1$h{'Standard'}@;
$c =~ s@(?<=life )(\d+)@$h{'Number'}$1$h{'Standard'}@;
} elsif ($c =~ /^Client tag/) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list