From 2aef11b064f1313f2258678acd1aeea7688668f9 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 16 Jan 2014 16:51:16 -0500 Subject: [PATCH] Filter upstream timed out events from log2zulip. (imported from commit 7a18d7f7ea6cc1be90d436c651eb4bb85598cec9) --- bots/log2zulip | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bots/log2zulip b/bots/log2zulip index b1a293e..1dc0ad0 100755 --- a/bots/log2zulip +++ b/bots/log2zulip @@ -39,6 +39,8 @@ def process_lines(raw_lines, file_name): lines = [] for line in raw_lines: # Add any filtering or modification code here + if re.match(".*upstream timed out.*while reading upstream.*", line): + continue lines.append(line) if len(lines) > 10: