Skip to contentSkip to conversation

logging: Promote command line to info

PATCH New Marian Csontos 1 participant 1 message Feb 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 logging: Promote command line to info

Amount of information in debug is so high it is difficult to understand when testing.

OTOH having command line in syslog increases log readability while not using debug.

---
 tools/lvmcmdline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/lvmcmdline.c +1 -1
index 6fe4670..c692a63 100644
@@ -1147,7 +1147,7 @@ int lvm_run_command(struct cmd_context *cmd, int argc, char **argv)
 		goto_out;
 	init_dmeventd_monitor(monitoring);
 
-	log_debug("Processing: %s", cmd->cmd_line);
+	log_info("Processing: %s", cmd->cmd_line);
 
 #ifdef O_DIRECT_SUPPORT
 	log_debug("O_DIRECT will be used");
Signature · 1 line
1.7.12.1