DMC TSC-34/RU Especificaciones Pagina 158

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 179
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 157
158 System Software Diagnostics Guide — September 2006
Runtime Trace Facility (RTF) Reference
<Global>
</Global>
<Module name="spwrvoice" state = "1">
MLabel name="ERR1" state = "1"/>
MLabel name="WARN" state = "1"/>
</Module>
</RTFConfig >
Explanation
The RTFConfig tag’s trace attribute is set to 1 so tracing is enabled. The Global tag is empty, so
there is no global configuration. For this example, tracing is only configured at the module level.
The path for the log file is $(INTEL_DIALOGIC_DIR)/log. Preservation mode is OFF, so the size
and maxbackup attributes apply while the preserve_size and preserve_max_backups attributes are
ignored. The maximum logfile size is 1000KB. The system maintains a maximum of 2 backup log
files.
The only module configured for trace is spwrvoice. This means that all clients (devices) for this
module are configured to trace ERR1 and WARN labels.
28.6.3 Example 3: Tracing enabled, logfile path and size specified,
several modules configured, global configuration used -
RTFConfigWin.xml
<?xml version="1.0" standalone="no"?>
<RTFConfig trace="1" tracelocation=”TRACE_LOG” 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”/>
<Global>
<GLabel name="Entry" state = "1"/>
<GClient name="dxxxB1C2" >
<GClientLabel name="Exit" state =”1”/>
</GClient>
</Global>
<Module name="spwrvoice" state = "1">
MLabel name="ERR1" state = "1"/>
MLabel name="WARN" state = "0"/>
</Module>
Vista de pagina 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 178 179

Comentarios a estos manuales

Sin comentarios