Skip to contentSkip to conversation

main - include lvm version in debug output

PATCH David Teigland 1 participant 1 message Feb 12, 2021

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=4486f08d51f4e6a6a47fa8cb484a70ca9a3ed541
Commit:        4486f08d51f4e6a6a47fa8cb484a70ca9a3ed541
Parent:        c94d78f068653293e42f0fe815ddeef98406c666
Author:        David Teigland <[email protected]>
AuthorDate:    Fri Feb 12 10:51:41 2021 -0600
Committer:     David Teigland <[email protected]>
CommitterDate: Fri Feb 12 10:51:41 2021 -0600

include lvm version in debug output

---
 tools/lvmcmdline.c | 1 +
 1 file changed, 1 insertion(+)
tools/lvmcmdline.c +1 -0
index 5e0edcade..5b7951f3b 100644
@@ -3000,6 +3000,7 @@ int lvm_run_command(struct cmd_context *cmd, int argc, char **argv)
 	_get_current_output_settings_from_args(cmd);
 	_apply_current_output_settings(cmd);
 
+	log_debug("Version: %s", LVM_VERSION);
 	log_debug("Parsing: %s", cmd->cmd_line);
 
 	if (!(cmd->command = _find_command(cmd, cmd->name, &argc, argv)))