Runtime components : Runtime Tools : Trace Facility : Tasks : How to trace to WebSphere Application Server
  
How to trace to WebSphere Application Server
The following code is a configuration template for tracing to WebSphere Application Server. This template sets all UDTT product trace output level to ERROR.
Note The trace request ID is the package name of the class of the UDTT product code. So the request ID com.ibm.btt.* represent all UDTT components. If the application also uses UDTT Trace, list the trace request ID (component ID or package/class name) upon call trace API. If the configuration is not set for the application trace ID, WebSphere Application Server assigns the default trace level INFO.
<kColl id="traces">
<field id="initializer" value="com.ibm.btt.base.TraceInitializer"/>
<!-- trace to WAS -->

<field id="traceTargetFactoryImplClass" value="com.ibm.btt.base.BTTLogFactoryToWASImp"/>
<field id="traceLevels" value="DEBUG"/>
<kColl id="requestersComponents">
<traceRequester id="com.ibm.btt.*" trace="yes" traceLevels="ERROR"/>
</kColl>
</kColl>
You can change the template according to your requirements. For example, if you need to enable the DEBUG level trace for the channel component and set the trace level of all other components to INFO, use the following configuration codes:
<traceRequester id="com.ibm.btt.*" trace="yes" traceLevels="INFO"/>
<traceRequester id="com.ibm.btt.channel.*" trace="yes" traceLevels="DEBUG"/>
<traceRequester id="com.ibm.btt.cs.*" trace="yes" traceLevels="DEBUG"/>
Go up to
Tasks