aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2022-06-28 17:33:55 +0200
committerPeter Mikus <peter.mikus@protonmail.ch>2022-06-29 09:15:49 +0000
commit71d84bb6f1f493ce589499a6de149cfa3222e006 (patch)
tree32d155dfaef959c8b2c5f112e7f4cfed25877b08 /resources/tools
parent30badc023cb58f7ae4ddcf747c28f49c39b1dca6 (diff)
feat(telemetry): print executed command in vppctl
The vpp bundle does that, so this will make the outputs more similar. Change-Id: Iadad9b683d90b7bdd672ed3f51bce9f57f652eaa Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/tools')
-rw-r--r--resources/tools/telemetry/bundle_vppctl.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/tools/telemetry/bundle_vppctl.py b/resources/tools/telemetry/bundle_vppctl.py
index b417ab07ed..5334237496 100644
--- a/resources/tools/telemetry/bundle_vppctl.py
+++ b/resources/tools/telemetry/bundle_vppctl.py
@@ -201,6 +201,7 @@ class BundleVppctl:
"""
for command in self.cli_command_list:
try:
+ getLogger(__name__).info(command)
replies = subprocess.getoutput(command)
except (AssertionError, AttributeError):
getLogger("console_stderr").error(