From 546734de23307a263bd6fca5e2fb48f50263b6eb Mon Sep 17 00:00:00 2001 From: Yaroslav Liakhovskyi Date: Tue, 17 Sep 2024 10:04:32 -0700 Subject: [PATCH] Update vector-logs filter fn usage --- paasta_tools/cli/cmds/logs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paasta_tools/cli/cmds/logs.py b/paasta_tools/cli/cmds/logs.py index 51b76a1298..5e7d44a0f4 100644 --- a/paasta_tools/cli/cmds/logs.py +++ b/paasta_tools/cli/cmds/logs.py @@ -1209,7 +1209,7 @@ def print_logs_by_time( for line in reader.get_log_reader( log_name=stream_name, start_datetime=start_time, end_datetime=end_time ): - if paasta_log_line_passes_filter( + if paasta_app_output_passes_filter( line, levels, service, @@ -1266,7 +1266,7 @@ async def tail_logs_from_nats() -> None: msg = await sub.next_msg(timeout=None) decoded_data = msg.data.decode("utf-8") - if paasta_log_line_passes_filter( + if paasta_app_output_passes_filter( decoded_data, levels, service,