From: Philippe Proulx Date: Sat, 13 May 2017 01:16:15 +0000 (-0400) Subject: cli/babeltrace.c: add logging when the command completes X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=d26ef3e39739125ffce5f057acf1415deb358024;p=deliverable%2Fbabeltrace.git cli/babeltrace.c: add logging when the command completes Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/cli/babeltrace.c b/cli/babeltrace.c index 4f1f8b1f4..4a0a25c56 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;