aboutsummaryrefslogtreecommitdiffstats
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 11:08:26 +0000
commit46b24d80f4f738795fbb37fd38f747aa5ea29ce2 (patch)
tree5be9843b32a6ce102f9a7842088c2a173d6b4b24
parentcc3fa9f81083d24fa0acbc029c497472cae52e99 (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> (cherry picked from commit 71d84bb6f1f493ce589499a6de149cfa3222e006)
-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(