summaryrefslogtreecommitdiffstats
path: root/utils/nfsd/nfsd.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2016-12-17 12:43:05 -0500
committerSteve Dickson <steved@redhat.com>2016-12-20 13:29:04 -0500
commit9f3c4c2e39928741c1a832fc2c7f2493507ced4c (patch)
tree1201cce9e460ccd698155941c6a987d417def356 /utils/nfsd/nfsd.c
parent9a7b1e9a9f489612377276a1783583808b97e882 (diff)
downloadnfs-utils-9f3c4c2e39928741c1a832fc2c7f2493507ced4c.tar.gz
nfs-utils-9f3c4c2e39928741c1a832fc2c7f2493507ced4c.tar.xz
nfs-utils-9f3c4c2e39928741c1a832fc2c7f2493507ced4c.zip
xlog: Add common support for "debug=??" in /etc/nfs.conf
The value is from the list general, call, auth, parse, all. Most daemons recognise this in their dedicated section. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/nfsd/nfsd.c')
-rw-r--r--utils/nfsd/nfsd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/nfsd/nfsd.c b/utils/nfsd/nfsd.c
index 8ee8bf0..3c451aa 100644
--- a/utils/nfsd/nfsd.c
+++ b/utils/nfsd/nfsd.c
@@ -80,6 +80,7 @@ main(int argc, char **argv)
xlog_stderr(1);
conf_init();
+ xlog_from_conffile("nfsd");
count = conf_get_num("nfsd", "threads", count);
grace = conf_get_num("nfsd", "grace-time", grace);
lease = conf_get_num("nfsd", "lease-time", lease);