MapR 5.0 Documentation : setloglevel fileserver

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


Syntax

CLI

maprcli setloglevel fileserver
    -classname <class>
    -loglevel DEBUG|ERROR|FATAL|INFO|TRACE|WARN
    -node <node>
    -port <port>

REST

http[s]://<host>:<port>/rest/setloglevel/fileserver?<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 MapR-FS port. Default: 5660

Examples

CLI

maprcli setloglevel fileserver
    -classname FileServer
    -loglevel debug
    -node centos26.lab

REST

https://centos26.lab:8443/rest/setloglevel/fileserver?classname=FileServer&loglevel=debug&node=centos26.lab