Setting up a trace in WebSphere Application Server

Technote (troubleshooting)


Problem(Abstract)

Use this document to set up trace strings for IBM WebSphere Application Server as mentioned in the component specific MustGather documents.

Resolving the problem

Note, the trace string you use depends on what module or component in WebSphere Application Server you need to trace, or what problem you are wishing to troubleshoot.

To determine which trace string you need, go to MustGather: Read first for WebSphere Application Server for a listing of product components that matches your symptom.
For WebSphere Application Server V8.5 Liberty profile, please use Setting up trace and getting a full dump in the WebSphere Application Server V8.5 Liberty profile


Static trace:

  1. Log on to the administrative console.

  2. In left panel expand Troubleshooting. Click on Logs and Trace.

  3. Select the application server to be traced, and then on the next page click the Diagnostic Trace link.

  4. Select the Configuration tab.

  5. Select the Enable Log property (This checkbox is not present in V7 and V8).

  6. Under Trace Output, select File radio button and specify File Name. Also Increase the Maximum file size to 100 MB and Increase the Maximum number of historical files to 10.

  7. Select Basic (Compatible) Trace Output Format unless otherwise specified by support.

  8. On same panel click on Change Log Detail Levels under Additional Properties on right side panel.

  9. Under Configuration tab specify Trace Specification by entering the trace string specific to the MustGather documentation for which you are collecting data.

  10. Click Apply and OK. Then Save your configuration (select Synchronize changes with Nodes option).

Dynamic trace:
  1. Log on to the administrative console.

  2. In the left panel, expand Troubleshooting and click on Logs and Trace.

  3. Select the application server to be traced, and than on the next page click the Diagnostic Trace link.

  4. Select the Runtime tab (Server should be up and running for this tab to show up).

  5. Under Trace Output, select File and type a File name (if you do not specify path, but just the file name, then the default location of the file is under the application server profile directory). Set the Maximum File size to 100Mb and Maximum Number of historical files to 10.

    Important:
    Do not select Save Runtime Changes to Configuration as well if you do not want this setting to become permanent.

  6. On same panel click on Change Log Detail Levels under Additional Properties on right side panel.
  7. Select the Runtime tab.

  8. Under Trace Specification, enter trace string for the specific MustGather for which you are collecting data.

  9. Click Apply and OK. Then Save your configuration (select Synchronize changes with Nodes option).
Stopping trace:
To stop the trace, remove the trace string from Trace Specification. Click Apply and OK. Then Save your configuration (select Synchronize changes with Nodes option).

Related information

WAS V8.0 Logging

Cross reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere Application Server
General

Software version:

6.0, 6.1, 7.0, 8.0, 8.5

Operating system(s):

AIX, HP-UX, Linux, Solaris, Windows

Software edition:

Base, Express, Network Deployment

Reference #:

1254706

Modified date:

2009-04-16

Translate my page

Machine Translation

Content navigation