From 1d1cc207f131682e02773f54df80960def228245 Mon Sep 17 00:00:00 2001 From: maszyk99 <157725801+maszyk99@users.noreply.github.com> Date: Thu, 7 Mar 2024 18:20:58 +0100 Subject: [PATCH] Pass correct args to logger Co-authored-by: Iuri Chaer --- splunklib/searchcommands/external_search_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/splunklib/searchcommands/external_search_command.py b/splunklib/searchcommands/external_search_command.py index ef05c88b..a8929f8d 100644 --- a/splunklib/searchcommands/external_search_command.py +++ b/splunklib/searchcommands/external_search_command.py @@ -120,7 +120,7 @@ def _execute(path, argv=None, environ=None): raise ValueError(f'Cannot find command on path: {path}') path = found - logger.debug(f'starting command="{path}", arguments={path}') + logger.debug(f'starting command="{path}", arguments={argv}') def terminate(signal_number): sys.exit(f'External search command is terminating on receipt of signal={signal_number}.')