Trace can isolate problems and debug code either during the application development phase or in runtime. Default configuration items for trace include the following:
This class defines that the Trace to WAS type is selected. The traceTargetFactoryImplClass defines the specific trace implement class. By default, there are four different trace types provided by the toolkit:
The trace type is defined to Trace to File. The configuration item traceFileName_WhenTraceToFile defines the file name and location of the file when tracing. Absolute path is required.
The suggested mode is by package. The tag traceRequester is the definition keyword for each traced package. The tag id defines the package to be traced. The tag traceLevels defines the specific trace level of this package.
The compatible mode is by component. The tag traceRequester is the definition keyword for each traced component. The tag id defines the component to be traced. The tag traceLevels is for the specific trace level of this component.