From 72b9240c5f665ba6f36fd3233b5add5e02797ac9 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 30 May 2010 16:44:25 +0000 Subject: [PATCH] Accept and highlight actions and filter filte loading: Loading actions file: /usr/local/etc/privoxy/default.action Loading filter file: /usr/local/etc/privoxy/default.filter --- tools/privoxy-log-parser.pl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index 12f8af82..d65d48f2 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -8,7 +8,7 @@ # # http://www.fabiankeil.de/sourcecode/privoxy-log-parser/ # -# $Id: privoxy-log-parser.pl,v 1.228 2010/02/13 15:25:10 fk Exp $ +# $Id: privoxy-log-parser.pl,v 1.229 2010/05/30 16:43:25 fk Exp $ # # TODO: # - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting @@ -1687,6 +1687,12 @@ sub handle_loglevel_info ($) { # Reloading configuration file '/usr/local/etc/privoxy/config' $c =~ s@(?<=loading configuration file \')([^\']*)@$h{'file'}$1$h{'Standard'}@; + } elsif ($c =~ m/^Loading (actions|filter) file: /) { + + # Loading actions file: /usr/local/etc/privoxy/default.action + # Loading filter file: /usr/local/etc/privoxy/default.filter + $c =~ s@(?<= file: )(.*)$@$h{'file'}$1$h{'Standard'}@; + } elsif ($c =~ m/^exiting by signal/) { # exiting by signal 15 .. bye -- 2.39.2