While the cell is running, rule tracing configuration can be changed by using the mcontrol
CLI. Following are the controls that influence rule tracing:
tracerule on|off
—Globally enables (on
) or disables (off
) rule tracing tracerule phases
Phases
—Modifies the configuration of which rule phases are enabled for tracing. The Phases
value has the same format as the TraceRulePhases
parameter. For example:
mcontrol -n CellName tracerule phases -new,-abstract
This command disables tracing of all new and abstract rules.
tracerule names
Names
—Modifies the configuration of which rules are enabled for tracing. The Names
value has the same format as the TraceRuleNames
parameter. For example:
mcontrol -n CellName tracerule names problem_rule
This command enables tracing of the rule named problem_rule
(assuming that problem_rule
is of a phase that has rule tracing enabled).
tracerule ports
Ports
—Determines which tracing ports are enabled. Ports
is a string with the same format as the TraceRulePorts
parameter, described on Configuring static rule tracing.Each time the cell starts, it reverts to the static rule tracing configuration defined in mcell.conf.