trace setlevel

Sets the trace level on one or more modules.

Syntax

CLI
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: localhost

module

The module on which to set the trace level. If set to all, sets the trace level on all modules.

level

The new trace level. If set to default, sets the trace level to its default.

port

The port to use. Default: 5660

Examples

Set the trace level of the log module to INFO:

CLI
maprcli trace setlevel -module log -level info
Set the trace levels of all modules to their defaults:
CLI
maprcli trace setlevel -module all -level default