Alex Vandiver
bd73e7d411
log-search: Factor out argument parsing.
2022-05-06 17:45:46 -07:00
Alex Vandiver
8eab5f6931
log-search: Add status code search.
...
This moves log filename parsing after the filter parsing, as that can
now enable --nginx.
2022-05-06 17:45:46 -07:00
Alex Vandiver
0bad002c14
log-search: Factor out logfile name parsing.
2022-05-06 17:45:46 -07:00
Alex Vandiver
67e641f37d
log-search: Add a filter by path.
2022-05-06 17:45:46 -07:00
Alex Vandiver
df47c5a750
log-search: Update docs to include client-id as an option.
2022-05-06 17:45:46 -07:00
Alex Vandiver
b1749259d4
log-search: Fix URLs for non-zulipchat.com hosts.
2022-05-06 17:45:46 -07:00
Alex Vandiver
e3a65b1528
log-search: Some Django log lines do not include hostname.
2022-05-06 17:45:46 -07:00
Alex Vandiver
fe17a4d6d0
log-search: Handle ^C more gracefully.
2022-05-06 17:45:46 -07:00
Alex Vandiver
da4ae3ff24
log-search: Filter out user avatars.
2022-05-06 17:45:46 -07:00
Alex Vandiver
d3ae7480cc
log-search: Handle settings.LOGGING_SHOW_PID.
2022-05-06 17:45:46 -07:00
Alex Vandiver
bd298ba753
log-search: Not all servers are in UTC.
2022-05-06 17:45:46 -07:00
Alex Vandiver
65b99377d2
log-search: Show duration.
2022-05-03 13:44:29 -07:00
Alex Vandiver
056895cc33
log-search: Search for user-ids.
2022-05-03 13:44:29 -07:00
Alex Vandiver
b355a0a63e
log-search: Default to searching python logfiles.
...
These have more accurate timestamps, and have user information --
but are harder to parse, and will not show requests when Django or
Tornado is stopped.
2022-05-03 13:44:29 -07:00
Alex Vandiver
ba1237119c
log-search: Add a tool to search nginx logs by IP/hostname.
...
This is a script to search nginx log files by server hostname or
client IP address, and output matching lines, all while skipping
common and less-interesting request lines.
2022-05-03 13:44:29 -07:00