Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
log-search: Remove old /report/ endpoints.
Alex Vandiver9ca0cd9bbdf6
diff --git a/scripts/log-search b/scripts/log-searchindex f2e089acad5..907ae61262e 100755--- a/scripts/log-search+++ b/scripts/log-search@@ -98,7 +98,7 @@ def parser() -> argparse.ArgumentParser:)filtering.add_argument("--presence", "-p", help="Include presence paths", action="store_true")filtering.add_argument(- "--report", "-r", help="Include timing report paths", action="store_true"+ "--report", "-r", help="Include Sentry reporting paths", action="store_true")filtering.add_argument("--no-other", "-O", help="Exclude paths not explicitly included", action="store_true"@@ -364,7 +364,7 @@ def passes_filters(return args.messageselif path in ("/api/v1/users/me/presence", "/json/users/me/presence"):return args.presence- elif path.startswith(("/api/v1/report/", "/json/report/")) or path == "/error_tracing":+ elif path == "/error_tracing":return args.reportelse:return not args.no_other