linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nfsidmapd: Let verbose determent whether stderr logging should be done
@ 2016-02-13 12:42 Steve Dickson
  2016-03-16 14:46 ` Steve Dickson
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Dickson @ 2016-02-13 12:42 UTC (permalink / raw)
  To: Linux NFS Mailing list

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

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/nfsidmap/nfsidmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/nfsidmap/nfsidmap.c b/utils/nfsidmap/nfsidmap.c
index 15b4a51..d980c68 100644
--- a/utils/nfsidmap/nfsidmap.c
+++ b/utils/nfsidmap/nfsidmap.c
@@ -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);
-- 
2.5.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] nfsidmapd: Let verbose determent whether stderr logging should be done
  2016-02-13 12:42 [PATCH] nfsidmapd: Let verbose determent whether stderr logging should be done Steve Dickson
@ 2016-03-16 14:46 ` Steve Dickson
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2016-03-16 14:46 UTC (permalink / raw)
  To: Linux NFS Mailing list



On 02/13/2016 07:42 AM, Steve Dickson wrote:
> Use the verbose command flag to turn on or off
> logging to stderr.
> 
> Signed-off-by: Steve Dickson <steved@redhat.com>
Committed... 

steved.

> ---
>  utils/nfsidmap/nfsidmap.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/utils/nfsidmap/nfsidmap.c b/utils/nfsidmap/nfsidmap.c
> index 15b4a51..d980c68 100644
> --- a/utils/nfsidmap/nfsidmap.c
> +++ b/utils/nfsidmap/nfsidmap.c
> @@ -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);
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-16 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-13 12:42 [PATCH] nfsidmapd: Let verbose determent whether stderr logging should be done Steve Dickson
2016-03-16 14:46 ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).