[Privoxy-commits] [privoxy] 02/03: privoxy-log-parser: Highlight: "Tagger 'http-method' didn't add tag 'POST': suppressed"

User Git git at git.privoxy.org
Thu Jul 17 12:10:52 CEST 2025


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit dc283de0f930a4468999a622ca93795300f5b370
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Tue Jul 8 16:06:58 2025 +0200

    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.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list