[Privoxy-commits] [privoxy] 03/06: privoxy-log-parser: Highlight listen address in 'Enlisting tag 'allow-cookies' for client 127.0.0.1 using 127.0.1.1:8120.'
User Git
git at git.privoxy.org
Wed Feb 25 16:24:01 CET 2026
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit 1739e9d1c7d4c0171c9725d43fd7020c4f1207d1
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Dec 7 21:58:03 2025 +0100
privoxy-log-parser: Highlight listen address in 'Enlisting tag 'allow-cookies' for client 127.0.0.1 using 127.0.1.1:8120.'
---
tools/privoxy-log-parser.pl | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index d45c4932..c7f61324 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -188,6 +188,7 @@ sub prepare_our_stuff() {
'HOST' => HEADER_DEFAULT_COLOUR,
'tls-version' => 'pink',
'cipher-suite' => 'light_cyan',
+ 'listen-address' => 'light_cyan',
);
%h_colours = %h;
@@ -1273,10 +1274,14 @@ sub handle_loglevel_tagging($) {
} elsif ($c =~ /^Enlisting tag/) {
+ # >= 4.2.0:
+ # Enlisting tag 'allow-cookies' for client 127.0.0.1 using 127.0.1.1:8120.
+ # < 4.2.0:
# Enlisting tag 'forward-directly' for client 127.0.0.1.
$c =~ s@(?<=tag \')([^\']*)@$h{'tag'}$1$h{'Standard'}@;
- $c = highlight_matched_host($c, '[^\s]+(?=\.$)');
+ $c = highlight_matched_host($c, '(?<=for client )[^\s]+');
+ $c =~ s@(?<=using )(.*)(?=\.$)@$h{'listen-address'}$1$h{'Standard'}@;
} elsif ($c =~ /^Tag/) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list