From 02fd152cc95053df1b27916f3f1ef3356276b4f9 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 3 Mar 2017 17:43:11 +0000 Subject: [PATCH] privoxy-log-parser: Prevent warnings when there are no connection timeouts or failures in the logs The regressions were introduced in r1.165 and r1.166 and thus aren't relevant for the ChangeLog. --- tools/privoxy-log-parser.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index d088710a..506a4bc8 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -8,7 +8,7 @@ # # https://www.fabiankeil.de/sourcecode/privoxy-log-parser/ # -# $Id: privoxy-log-parser.pl,v 1.167 2017/02/24 12:00:16 fabiankeil Exp $ +# $Id: privoxy-log-parser.pl,v 1.168 2017/02/24 12:00:25 fabiankeil Exp $ # # TODO: # - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting @@ -2115,6 +2115,8 @@ sub init_stats () { 'empty-responses-on-reused-connections' => 0, 'fast-redirections' => 0, 'blocked' => 0, + 'connection-failure' => 0, + 'connection-timeout' => 0, 'reused-connections' => 0, 'server-keep-alive' => 0, 'closed-client-connections' => 0, -- 2.39.2