From d26ef3e39739125ffce5f057acf1415deb358024 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 12 May 2017 21:16:15 -0400 Subject: [PATCH] cli/babeltrace.c: add logging when the command completes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- cli/babeltrace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/babeltrace.c b/cli/babeltrace.c index 4f1f8b1f..4a0a25c5 100644 --- a/cli/babeltrace.c +++ b/cli/babeltrace.c @@ -1811,6 +1811,8 @@ int main(int argc, const char **argv) assert(false); } + BT_LOGI("Command completed: cmd=%d, command-name=\"%s\", ret=%d", + cfg->command, cfg->command_name, ret); warn_command_name_and_directory_clash(cfg); retcode = ret ? 1 : 0; -- 2.34.1