diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-08-01 06:27:40 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2009-08-01 06:27:40 -0400 |
commit | 6f25394cb5651e7e44cc3fc0b2b4b2ccba8c3625 (patch) | |
tree | 6a8c3f9cf43f5f7f77de03a203f17ee54305aa35 /support | |
parent | 5d37055061e92df07c4bf483ce06551d82ae9338 (diff) | |
download | nfs-utils-6f25394cb5651e7e44cc3fc0b2b4b2ccba8c3625.tar.gz nfs-utils-6f25394cb5651e7e44cc3fc0b2b4b2ccba8c3625.tar.xz nfs-utils-6f25394cb5651e7e44cc3fc0b2b4b2ccba8c3625.zip |
nfs-utils: convert rpc.nfsd to use xlog()
...and add --debug and --syslog options.
With the switch to xlog(), it becomes trivial to add debug messages, so
add an option to turn them on when requested.
Also, rpc.nfsd isn't a proper daemon per-se, so it makes more sense to
log errors to stderr where possible. Usually init scripts take care of
redirecting stderr output to syslog anyway.
For those that don't, add a --syslog option that forces all output to go
to syslog instead. Note that even with this option, errors encountered
during option processing will still go to stderr.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support')
0 files changed, 0 insertions, 0 deletions