feat(telemetry): print executed command in vppctl 12/36512/2
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 09:15:49 +0000 (09:15 +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>
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(