Specifications
System Software Diagnostics Guide — September 2006 157
Runtime Trace Facility (RTF) Reference
28.6 Example RTF Configuration Files
This section provides a number of example RtfConfig*.xml files along with a brief explanation of
how the file settings affect the RTF trace output. Note that the same rules/examples covered in this
section apply to both the RtfConfigWin.xml and RftConfigLinux.xml file.
28.6.1 Example 1: Tracing disabled - RtfConfigWin.xml
<?xml version="1.0" standalone="no"?>
<RTFConfig trace="0" tracelocation=”TRACE_LOG” logformat=”ALIGN”
timestamp=”1”>
<Logfile path="$(INTEL_DIALOGIC_DIR)\log" size="1000" maxbackups=”2”
preserve_size=”300” preserve_max_backups=”10”
duplicate_to_debug_console=”0” log_format=”text”/>
<Global>
</Global>
<Module name="spwrvoice" state = "1">
MLabel name="ERR1" state = "1"/>
MLabel name="WARN" state = "0"/>
</Module>
</RTFConfig >
Explanation
The RTFConfig tag’s trace attribute is set to 0 so tracing is disabled. Trace output will not be
created. Set the trace attribute to 1 to activate tracing.
28.6.2 Example 2: Tracing enabled, logfile path and size specified,
preservation mode OFF, one module configured -
RTFConfigLinux.xml
<?xml version="1.0" standalone="no"?>
<RTFConfig trace="1" tracelocation=”TRACE_LOG” timestamp=”1”
logformat=”ALIGN”>
<Logfile path="$(INTEL_DIALOGIC_DIR)/log" size="1000" maxbackups=”2”
preserve_size=”300” preserve_max_backups=”10”
duplicate_to_debug_console=”0” log_format=”text”/>










