feat(telemetry): print executed command in vppctl 34/36534/1
authorVratko Polak <vrpolak@cisco.com>
Tue, 28 Jun 2022 15:33:55 +0000 (17:33 +0200)
committerPeter Mikus <peter.mikus@protonmail.ch>
Wed, 29 Jun 2022 11:08:26 +0000 (11:08 +0000)
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)

resources/tools/telemetry/bundle_vppctl.py

index b417ab0..5334237 100644 (file)
@@ -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(