trace setlevel
Sets the trace level on one or more modules.
Syntax
- CLI
-
/opt/mapr/bin/maprcli trace setlevel [ -host <host> ] -level <trace level> -module <module name> [ -port <port> ]
- REST
-
None.
Parameters
Parameter |
Description |
---|---|
host |
The node on which to set the trace level. Default:
|
module |
The module on which to set the trace level. If set to
|
level |
The new trace level. Set the level to If you do not set the level, then INFO is set as the level. You can find the existing trace level of each module, using the command:
The current modules along with their default trace level are:
The current trace levels are:
|
port |
The port to use. Default: |
Examples
Set the trace level of the Log module to INFO:
- CLI
-
/opt/mapr/bin/maprcli trace setlevel -module Log -level info
- CLI
-
/opt/mapr/bin/maprcli trace setlevel -module BTreeMgr -level FATAL
- CLI
-
/opt/mapr/bin/maprcli trace setlevel -module all -level default
- CLI
or equivalently:/opt/mapr/bin/maprcli trace setlevel -module all -level INFO
/opt/mapr/bin/maprcli trace setlevel -module all