Follow these steps to enable the trace option and to configure
the trace file.
- From the navigation tree on the WebSphere® Application
Server administrative
console, select .
- In the Logging and Tracing page, from the Application
Servers table, click the name of the application server on which
you want to enable the tracing option.
- Click Diagnostic Trace.
- In the Configuration tab:
- Select the Enable Log check box to enable
the trace option.
- Specify the name and path for the trace out file (trace.log),
or you can accept the default name and location.
- Specify the maximum file size for the trace file, or you can
accept its default maximum size.
- Specify the maximum number of historical files to a reasonable
number. Otherwise, the trace file will be recycled after reaching the provided
size limit, and the trace information will be lost.
- Click OK.
- In the Message information box, click Save to
apply your changes. The Save page appears.
- Click Save.