log-search: Handle settings.LOGGING_SHOW_PID.

This commit is contained in:
Alex Vandiver 2022-05-05 12:22:39 -07:00 committed by Tim Abbott
parent bd298ba753
commit d3ae7480cc
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ PYTHON_LOG_LINE_RE = re.compile(
(?P<date> \d+-\d+-\d+ ) \s+ (?P<date> \d+-\d+-\d+ ) \s+
(?P<time> \d+:\d+:\d+\.\d+ ) \s+ (?P<time> \d+:\d+:\d+\.\d+ ) \s+
INFO \s+ # All access log lines are INFO INFO \s+ # All access log lines are INFO
(pid:\d+ \s+) ?
\[ (?P<source> zr(:\d+)?) \] \s+ \[ (?P<source> zr(:\d+)?) \] \s+
(?P<ip> (?P<ip>
\d{1,3}(\.\d{1,3}){3} \d{1,3}(\.\d{1,3}){3}