Specifies the tracing level to use for a single component.
Syntax:
mftrace.level.component-name=trace-threshold-level
Parameters:
-
component-name
- The component whose trace threshold level is to be set. Component names are case-insensitive.
-
trace-threshold-level
- One of the following case-insensitive values:
- NONE
- No events are to be traced.
- DEBUG
- All events are traced. This produces the most verbose output.
- INFO
- All INFO, WARN, ERROR, and FATAL events are traced.
- WARN
- All WARN, ERROR, and FATAL events are traced
- ERROR
- All ERROR and FATAL events are traced
- FATAL
- Only FATAL events are traced
Default:
If not set, a component’s trace threshold level is inherited from its parent, or the default trace level if the component does not have a parent. A component's parent is the component that appears to the left of it in component-name. For example, if component-name is mf.rts.subsystem, mf is the parent of rts, and rts is the parent of subsystem.
Examples:
To set the WARN tracing threshold level for the mf.rts component and the DEBUG tracing threshold level for all other components:
...
mftrace.level=debug
mftrace.level.mf.rts=warn
...
Comments:
Use mftrace.level.component to specify the level of tracing that is to be performed by the specified component and any components that inherit from it. You can specify multiple mftrace.level.component entries in the configuration file, but an entry that specifies a tracing level for a component that has previously been set overrides the previous setting.