From 2aed7a833030d6e66bbe09ad422be6b7e6d72996 Mon Sep 17 00:00:00 2001 From: Tomi Belan Date: Thu, 17 Jan 2019 01:00:28 +0100 Subject: [PATCH] Add more logutil patterns. --- votrfront/logutil.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/votrfront/logutil.py b/votrfront/logutil.py index ed04ad3..950db27 100644 --- a/votrfront/logutil.py +++ b/votrfront/logutil.py @@ -19,6 +19,9 @@ def classify(line): if "OSError: failed to write data" in line.content: return 'OSError' + if ("OSError: Apache/mod_wsgi failed to write response data: Broken pipe" + in line.content): + return 'OSError' if "base.ps.PSException: Nie je connection" in line.content: return 'SQLError' if "java.sql.SQLException: Connection is not valid" in line.content: @@ -35,6 +38,9 @@ def classify(line): return 'HTTPError' if "failed with LoggedOutError" in line.content: return 'LoggedOutError' + if ("zapis_plan_vyhladaj" in line.content and + "AIS did not return all table rows" in line.content): + return 'open issue121' return 'open'