summaryrefslogtreecommitdiffstats
path: root/utils/statd/sm-notify.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/statd/sm-notify.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/statd/sm-notify.c')
-rw-r--r--utils/statd/sm-notify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/statd/sm-notify.c b/utils/statd/sm-notify.c
index 19f40af..623213e 100644
--- a/utils/statd/sm-notify.c
+++ b/utils/statd/sm-notify.c
@@ -490,6 +490,7 @@ main(int argc, char **argv)
progname = argv[0];
conf_init();
+ xlog_from_conffile("sm-notify");
opt_max_retry = conf_get_num("sm-notify", "retry-time", opt_max_retry / 60) * 60;
opt_srcport = conf_get_str("sm-notify", "outgoing-port");
opt_srcaddr = conf_get_str("sm-notify", "outgoing-addr");