From: Fabian Keil Date: Tue, 8 Jul 2025 14:06:58 +0000 (+0200) Subject: privoxy-log-parser: Highlight: "Tagger 'http-method' didn't add tag 'POST': suppressed" X-Git-Url: http://www.privoxy.org/gitweb/%22https:/@default-cgi@/faq/user-manual/static/diff?a=commitdiff_plain;h=dc283de0f930a4468999a622ca93795300f5b370;p=privoxy.git privoxy-log-parser: Highlight: "Tagger 'http-method' didn't add tag 'POST': suppressed" --- 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.