From: Vratko Polak Date: Tue, 28 Jun 2022 15:33:55 +0000 (+0200) Subject: feat(telemetry): print executed command in vppctl X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=71d84bb6f1f493ce589499a6de149cfa3222e006;hp=30badc023cb58f7ae4ddcf747c28f49c39b1dca6 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 --- 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(