setloglevel cldb

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

Syntax

CLI
maprcli setloglevel cldb
    -classname <class>
    -loglevel DEBUG|ERROR|FATAL|INFO|TRACE|WARN
    -node <node>
    -port <port>
REST
Request Type POST
Request URL
http[s]://<host>:<port>/rest/setloglevel/cldb?<parameters>

Parameters

Parameter Description
classname The name of the class for which to set the log level. The class can be at the package level or a specific class. 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 CLDB port. Default: 7222

Examples

maprcli setloglevel cldb
    -classname com.mapr.fs.cldb.CLDBServer
    -loglevel debug
    -node abc.sj.us
curl -k -X POST 'https://abc.sj.us:8443/rest/setloglevel/cldb?classname=com.mapr.fs.cldb.CLDBServer&loglevel=debug&node=abc.sj.us' --user mapr:mapr
{"timestamp":1529380341288,"timeofday":"2018-06-18 08:52:21.288 GMT-0700 PM","status":"OK","total":0,"data":[]}