Use this page to review and modify the properties of the diagnostic trace service.
To view this page, click Troubleshooting > Logs and Trace > server > Diagnostic trace.
Configuration tab
If this option is not selected, the following configuration properties are not passed to the application server trace service at server startup.
Enter a trace string that specifies the components, packages, or groups to trace. The trace string must conform to the specific grammar described below. You can enter the trace string directly, or generate it using the graphical trace interface. Click Modify to start the graphical trace interface.
If you start the graphical trace interface from the configuration tab, a list of well-known components, packages, and groups is displayed. This list might not be exhaustive.
If you start the graphical trace interface from the runtime tab, the list of components, packages, and groups displays all such components currently registered on the running server.
The format of the trace specification is:
<component> = <trace_type>= enabled | disabledwhere: <component> is the component for which to enable or disable tracing, and <trace_type> is the type of tracing to enable or disable. Separate multiple tracing specifications with colons (:).
Components correspond to Java packages and classes, or to collections of Java packages. Use * as a wildcard to indicate components that include all classes in all packages contained by the specified component. For example:
For more information on trace string grammar, see the article Enabling trace in the WebSphere Application Server information center navigation.
Note: An error can occur when setting a trace specification from the adminstrative console if selections are made from both the Groups and Components lists. In some cases, the selection made from one list is not lost when adding a selection from the other list. To work around this problem, enter the desired trace specification directly into the Trace Specification entry field.
Runtime tab
Select this box to copy runtime trace changes to the trace configuration settings as well. Saving these changes to the trace configuration will cause the changes to persist even if the application is restarted.
Enter a trace string that specifies the components, packages, or groups to trace. The trace string must conform to the specific grammar described below. You can enter the trace string directly, or generate it using the graphical trace interface. Click Modify to start the graphical trace interface.
If you start the graphical trace interface from the configuration tab, a list of well-known components, packages, and groups is displayed. This list might not be exhaustive.
If you start the graphical trace interface from the runtime tab, the list of components, packages, and groups displays all such components currently registered on the running server.
The format of the trace specification is:
<component> = <trace_type>= enabled | disabledwhere: <component> is the component for which to enable or disable tracing, and <trace_type> is the type of tracing to enable or disable. Separate multiple tracing specifications with colons (:).
Components correspond to Java packages and classes, or to collections of Java packages. Use * as a wildcard to indicate components that include all classes in all packages contained by the specified component. For example:
For more information on trace string grammar, see the article Enabling trace in the WebSphere Application Server information center navigation.
Note: An error can occur when setting a trace specification from the adminstrative console if selections are made from both the Groups and Components lists. In some cases, the selection made from one list is not lost when adding a selection from the other list. To work around this problem, enter the desired trace specification directly into the Trace Specification entry field.