Skip to contentSkip to conversation

nfsidmapd: Let verbose determent whether stderr logging should be done

PATCH In review Steve Dickson 1 participant 2 messages Feb 13, 2016 – Mar 16, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfsidmapd: Let verbose determent whether stderr logging should be done

Use the verbose command flag to turn on or off
logging to stderr.

---
 utils/nfsidmap/nfsidmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
utils/nfsidmap/nfsidmap.c +1 -1
index 15b4a51..d980c68 100644
@@ -428,7 +428,7 @@ int main(int argc, char **argv)
 		return keyring_clear(DEFAULT_KEYRING);
 	}
 
-	xlog_stderr(0);
+	xlog_stderr(verbose);
 	if ((argc - optind) != 2) {
 		xlog_err("Bad arg count. Check /etc/request-key.conf");
 		xlog_warn(usage, progname);
Signature · 1 line
2.5.0
#1 lore raw
Quoted 4 lines · Steve Dickson

Use the verbose command flag to turn on or off
logging to stderr.

Committed...

steved.

Quoted 18 lines
---
 utils/nfsidmap/nfsidmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
utils/nfsidmap/nfsidmap.c +1 -1
index 15b4a51..d980c68 100644
@@ -428,7 +428,7 @@ int main(int argc, char **argv)
 		return keyring_clear(DEFAULT_KEYRING);
 	}
 
-	xlog_stderr(0);
+	xlog_stderr(verbose);
 	if ((argc - optind) != 2) {
 		xlog_err("Bad arg count. Check /etc/request-key.conf");
 		xlog_warn(usage, progname);