From dc283de0f930a4468999a622ca93795300f5b370 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 8 Jul 2025 16:06:58 +0200 Subject: [PATCH] privoxy-log-parser: Highlight: "Tagger 'http-method' didn't add tag 'POST': suppressed" --- 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 36cbed7f..3f173a42 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -1262,6 +1262,15 @@ sub handle_loglevel_tagging($) { $c =~ s@(?<=added tag \')([^\']*)@$h{'tag'}$1$h{'Standard'}@; $c =~ s@(?<=Action bits )(updated)@$h{'action-bits-update'}$1$h{'Standard'}@; + } elsif ($c =~ /^Tagger \'([^\']*)\' didn\'t add tag \'([^\']*)\'/) { + + # Tagger 'http-method' didn't add tag 'POST': suppressed + # Tagger 'revalidation' didn't add tag 'REVALIDATION-REQUEST'. Tag already present + # XXX: Save tag and tagger + + $c =~ s@(?<=^Tagger \')([^\']*)@$h{'tag'}$1$h{'Standard'}@; + $c =~ s@(?<=didn['']t add tag \')([^\']*)@$h{'tagger'}$1$h{'Standard'}@; + } elsif ($c =~ /^Enlisting tag/) { # Enlisting tag 'forward-directly' for client 127.0.0.1. -- 2.49.0