IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

How to trace to WebSphere Application Server

About this task

The following code is a configuration template of tracing to WebSphere Application Server. This template set all BTT product trace output level to ERROR. Note BTT trace request ID is the package name of class of BTT product code. So the request ID com.ibm.btt.* represent all BTT components. If the application also uses BTT 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.

Example

<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, assuming that you need to enable the DEBUG level trace for BTT channel component and set the trace level of all other BTT components to INFO. For the BTT Channel Component uses the following packages: com.ibm.btt.channel and com.ibm.btt.cs, 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"/>


Feedback