From 9ca0cd9bbdf66e5f7b2857b15320a5337a2f0c5b Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Mon, 26 Feb 2024 14:51:05 +0000 Subject: [PATCH] log-search: Remove old /report/ endpoints. --- scripts/log-search | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/log-search b/scripts/log-search index f2e089acad..907ae61262 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.messages elif 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.report else: return not args.no_other