Sending trace output to a cell enables you to capture the traces of one or more cells in a centralized location. To send the trace of one cell to another cell, the trace of the originating cell should be produced as events. Those events can be sent to the destination cell using a propagate rule.
To enable sending cell trace information to another cell, you must
After the cell trace module is configured, it generates an internal event for each trace log message.
Definition of the class of trace log events
Each trace message is represented through a single
MC_CELL_LOG_MSG event, as shown:
log_time date and time slot is an integer in time stamp format.
The textual representation of the log message
log_text uses the originating cell's local message catalog.
Configuring trace messages to be produced as log events
By default, a cell does not produce log events for its trace. This has to be enabled explicitly using the
TraceEvents configuration parameter in the mcell.conf file. The value of this parameter is a comma-separated sequence of
module:level combinations. Each one is optionally prefixed with a
+ or a
- sign to indicate addition or removal from the list. The special value
module and for
level indicate all modules and all levels.
This setting specifies that events must be generated for messages from all modules, of all but the
Event tracing should be configured with care, as it might produce an excessive number of events. In particular,
VERBOSE level messages should not be configured as events.
For more information about the trace configuration parameters in mcell.conf, see Trace parameters.
The propagate rule syntax is described in Propagate rule syntax.
The following is an example of a propagate rule for trace log events: