From 17c93e2be4ad7b3af0cd6878bdd5d8a4a3e6da99 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 28 Nov 2019 05:53:29 +0100 Subject: Merging upstream version 1.19.0. Signed-off-by: Daniel Baumann --- collectors/python.d.plugin/web_log/web_log.chart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'collectors/python.d.plugin/web_log/web_log.chart.py') diff --git a/collectors/python.d.plugin/web_log/web_log.chart.py b/collectors/python.d.plugin/web_log/web_log.chart.py index fa5a8bc3e..c1e1dcfbb 100644 --- a/collectors/python.d.plugin/web_log/web_log.chart.py +++ b/collectors/python.d.plugin/web_log/web_log.chart.py @@ -867,7 +867,7 @@ class Web: :return: """ code_class = code[0] - if code_class == '2' or code == '304' or code_class == '1': + if code_class == '2' or code == '304' or code_class == '1' or code == '401': self.data['successful_requests'] += 1 elif code_class == '3': self.data['redirects'] += 1 -- cgit v1.2.3