privoxy-log-parser: Highlight 'Not shutting down client connection on socket 8. The...
authorFabian Keil <fk@fabiankeil.de>
Mon, 1 Apr 2024 11:31:20 +0000 (13:31 +0200)
committerFabian Keil <fk@fabiankeil.de>
Mon, 1 Apr 2024 11:51:23 +0000 (13:51 +0200)
tools/privoxy-log-parser.pl

index 6dc5450..ae18c57 100755 (executable)
@@ -1976,6 +1976,11 @@ sub handle_loglevel_connect($) {
         $c =~ s@(?<=offset at )(\d+)@$h{'Number'}$1$h{'Standard'}@;
         $c =~ s@(?<=flushing )(\d+)@$h{'Number'}$1$h{'Standard'}@;
 
+    } elsif ($c =~ m/^Not shutting down client connection on/) {
+
+        # Not shutting down client connection on socket 8. The socket is no longer alive.
+        $c =~ s@(?<=socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+
     } elsif ($c =~ m/^Looks like we / or
              $c =~ m/^Unsetting keep-alive flag/ or
              $c =~ m/^No connections to wait/ or