Runtime tools : Runtime Tools : Trace Facility : Tasks : How to trace to file
  
How to trace to file
You can trace to file or Rational Application Developer console by using the following configuration template.
Note Trace to file is only recommended to use in Java client environment. In WebSphere Application Server environment, it is recommended to use trace to WAS or common logging.
<kColl id="components">
<kColl id="traces">
<field id="initializer" value="com.ibm.btt.base.TraceInitializer"/>
<field id="traceTargetFactoryImplClass"
value="com.ibm.btt.base.BTTLogFactoryToFileOrConsoleImp"/>
<field id="traceFileName_WhenTraceToFile" value="c:\bttlog.txt"/>

<kColl id="requestersComponents">
<traceRequester id="com.ibm.btt.*" trace="yes" traceLevels="DEBUG"/>
</kColl>
</kColl>
</kColl>
Go up to
Tasks