setloglevel nfs

Sets the log level on the NFS service. Permissions required: fc or a.

Syntax

CLI
maprcli setloglevel nfs
    -classname <class>
    -loglevel DEBUG|ERROR|FATAL|INFO|TRACE|WARN
    -node <node>
    -port <port>
    -isusermode <TRUE|FALSE> 
REST
http[s]://<host>:<port>/rest/setloglevel/nfs?<parameters> 

Parameters

Parameter

Description

classname

The name of the class for which to set the log level. The classname is listed under the maprcli trace info command. Contact MapR Support for this parameter.

loglevel

The log level to set. Default: INFO

  • DEBUG
  • ERROR
  • FATAL
  • INFO
  • TRACE
  • WARN

node

The node on which to set the log level.

port

The NFS port. Default: 9998

isusermode Whether or not is the request is for user mode.

Examples

CLI
maprcli setloglevel nfs
    -classname NFSD
    -loglevel debug
    -node centos26.lab
REST
https://centos26.lab:8443/rest/setloglevel/nfs?classname=NFSD&loglevel=debug&node=centos26.lab