Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

log-search: Handle settings.LOGGING_SHOW_PID.

Alex Vandiverd3ae7480ccc7
diff --git a/scripts/log-search b/scripts/log-search
index 3bcf5a21e9e..583ee1dd886 100755
--- a/scripts/log-search
+++ b/scripts/log-search
@@ -114,6 +114,7 @@ PYTHON_LOG_LINE_RE = re.compile(
(?P<date> \d+-\d+-\d+ ) \s+
(?P<time> \d+:\d+:\d+\.\d+ ) \s+
INFO \s+ # All access log lines are INFO
+ (pid:\d+ \s+) ?
\[ (?P<source> zr(:\d+)?) \] \s+
(?P<ip>
\d{1,3}(\.\d{1,3}){3}