Example: WCALoggerConfig.xml
The following sample WCALoggerConfig.xml file shows the following information about the trace file and log file for the loading utilities:
- Tracing is enabled and the trace file is called trace.txt and will be written to the WC_installdir\instances\demo\logs directory.
- The maximum size of the trace file 1024 kilobytes.
- Tracing is enabled for the idresgen, massextract, dtdgen, and xmltransform utilities only. Tracing is not enabled for the massload and fileloader utilities.
- Logging is enabled and the log file is called messages.text and will be written to the WC_installdir\instances\demo\logs directory.
- The maximum size of the log file 1024 kilobytes.
- Only error messages will be recorded in the log file. Information and warning messages will not be recorded.
<?xml version="1.0" encoding="ISO-8859-1"?> <config> <LogSystem name="Log System" compact="true"> <trace traceFile="WC_installdir\instances\demo\logs\trace.txt" enable="true" fileSize="1024" > <component name="COMPONENT_IDRESGEN"/> <!-- <component name="COMPONENT_MASSLOAD"/> --> <!-- <component name="COMPONENT_ATTACHMENT"/> --> <component name="COMPONENT_MASSEXTRACT"/> <component name="COMPONENT_DTDGEN"/> <component name="COMPONENT_XMLTRANS"/> </trace> <messageLog messageFile="WC_installdir\instances\demo\logs\messages.txt" enable="true" fileSize="1024" > <!-- <logSeverity type="INFO"/> --> <!-- <logSeverity type="WARNING"/> --> <logSeverity type="ERROR"/> </messageLog> </LogSystem> </config>Related concepts
Related tasks
Related reference