statd's "-F" flag disables syslog output, and specifies sm-notify's
"-d" option when it runs it. sm-notify's "-d" option should therefore
also disable syslog output.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
xlog_stderr(1);
xlog_config(D_ALL, 1);
xlog_stderr(1);
xlog_config(D_ALL, 1);
+ } else {
+ xlog_syslog(1);
xlog_open(progname);
xlog(L_NOTICE, "Version " VERSION " starting");
xlog_open(progname);
xlog(L_NOTICE, "Version " VERSION " starting");