InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.19: Administering the product messages, logs, and traces (overview) >
6.6.19.3: Administering server traces with the Web console >
6.6.19.3.1: Enabling, specifying, and editing trace strings with the Web console
During this task, you will specify or edit a trace string and enable tracing. These two
actions are prerequisites to starting a trace. The trace string is a description
of the application server component or components that you want to trace.
- In the tree on the left side of the console, click
Nodes -> hostname -> Application Servers
-> Trace Service. The trace service properties will be displayed
on the right side of the console.
- Specify a trace string.
If the server is not running, then you must type a trace string with correct
syntax into the trace specification field. Refer to the trace service field help
for guidance.
If the application server is running, you can click the Edit button to
display a tree view from which you can construct a trace string without knowing
the trace syntax.
- Each node in the tree is a component that you can trace. The nodes
are arranged in a hierarchy showing their relationships.
- To the right of the tree are the settings to disable,
enable, or inherit tracing for the component that is currently selected in
the tree.
- To begin with, each component in the tree is set for tracing according to
the current trace string. If a component is not specified in the current trace
string, then its tracing is off (not enabled).
Configure tracing for various components in the tree, then save the entire tree:
- Modify a component in the tree of components. Use the
settings on the right side of the work area to enable or disable tracing of the
component, or have it inherit the setting from its parent node in the tree.
- When you are finished specifying the settings for the selected component,
click the OK button located directly below the settings.
- Repeat the previous steps for as many components as you would like.
- When finished, click
the other OK button, located directly below the tree. This will
save all of your changes to the tree, and exit the tree dialog.
The trace specification field will now contain the trace string corresponding
to the way that you configured the various components in the tree view.
- Click Enable Trace String so that the check box is checked.
Otherwise, your trace string will be ignored.
- Click OK.
- At this point, you are ready to start tracing.
- If the
server is already running, you can send the trace settings to the server, to take effect
immediately. For instructions, see the "Starting" link in the "Tasks..." links on the right.
- If the server is not running, and you want to start tracing:
- Save your configuration.
- To have the configuration take effect:
- Stop the server
- Start the server again.
|
|