setloglevel cldb
Sets the log level on the CLDB service. Permissions required: fc
or
a
.
Syntax
CAUTION
This command must be run under the supervision of HPE
support.- 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 HPE Support for this parameter. |
loglevel
|
The log level to set. Default: INFO
|
node
|
The hostname or IP address of the node on which to set the log level. This is the node on which the cldb service is running. |
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":[]}