2019-12-19 17:55:21

by Steve Dickson

[permalink] [raw]
Subject: [PATCH] libnfsidmap: Turn off default verbosity

Commit f080188e changed the library's verbosity
to be on by default. The patch turns it off by
default

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1774787

Signed-off-by: Steve Dickson <[email protected]>
---
support/nfsidmap/libnfsidmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/nfsidmap/libnfsidmap.c b/support/nfsidmap/libnfsidmap.c
index 9299e65..d11710f 100644
--- a/support/nfsidmap/libnfsidmap.c
+++ b/support/nfsidmap/libnfsidmap.c
@@ -101,7 +101,7 @@ static void default_logger(const char *fmt, ...)

#pragma GCC visibility pop
nfs4_idmap_log_function_t idmap_log_func = default_logger;
-int idmap_verbosity = 2;
+int idmap_verbosity = 0;
#pragma GCC visibility push(hidden)

static int id_as_chars(char *name, uid_t *id)
--
2.21.0


2019-12-19 18:20:59

by Steve Dickson

[permalink] [raw]
Subject: Re: [PATCH] libnfsidmap: Turn off default verbosity



On 12/19/19 12:54 PM, Steve Dickson wrote:
> Commit f080188e changed the library's verbosity
> to be on by default. The patch turns it off by
> default
>
> Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1774787
>
> Signed-off-by: Steve Dickson <[email protected]>
Committed...

steved.
> ---
> support/nfsidmap/libnfsidmap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/support/nfsidmap/libnfsidmap.c b/support/nfsidmap/libnfsidmap.c
> index 9299e65..d11710f 100644
> --- a/support/nfsidmap/libnfsidmap.c
> +++ b/support/nfsidmap/libnfsidmap.c
> @@ -101,7 +101,7 @@ static void default_logger(const char *fmt, ...)
>
> #pragma GCC visibility pop
> nfs4_idmap_log_function_t idmap_log_func = default_logger;
> -int idmap_verbosity = 2;
> +int idmap_verbosity = 0;
> #pragma GCC visibility push(hidden)
>
> static int id_as_chars(char *name, uid_t *id)
>