ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamy_5.4.0.1/50/trb/trbenabletrace.htm

73 lines
3.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Enable the trace service</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h3>Enable the trace service</h3>
<p>Use the WebSphere administrative console to enable the trace service for an
application server. The trace service can be enabled dynamically or statically
for an application server.</p>
<p>When you enable trace dynamically, the trace settings are in effect only for
the lifetime of the server. The trace settings are not saved to the application
server configuration. Use dynamic trace when the problem you are diagnosing
occurs after the application server has started successfully.</p>
<p>When you enable trace statically, the trace settings are not enabled until
the application server is started (or restarted). The trace settings are used
every time you start the application server. Use static trace when the problem
you are diagnosing occurs during application server startup.</p>
<p><strong>Note</strong>: Depending on the amount of trace event data being collected,
the trace service can negatively affect performance of the application server.
Once you have gathered the appropriate trace, be sure to disable the trace
service.</p>
<p><strong>Enable the trace service</strong></p>
<p>To enable a trace service, follow these steps:</p>
<ol>
<li><a href="../admin/acstart.htm">Start the administrative console.</a></li>
<li> Expand <strong>Troubleshooting</strong>.</li>
<li>Click <strong>Logs and Trace</strong>.</li>
<li>Click your application server from the table.</li>
<li>Click <strong>Diagnostic trace</strong>.</li>
<li>Select a tracing option:
<ul>
<li>To enable trace statically, select the <strong>Configuration</strong> tab.</li>
<li>To enable trace dynamically, select the <strong>Runtime</strong> tab.</li>
</ul>
<p>The panel displays the attribute values currently assigned. Make any configuration
changes and continue.</p>
</li>
<li>Click <strong>Apply</strong>.</li>
<li>If enabling static trace, click the <strong>Save</strong> link at the top
of the page to save your configuration changes. Click <strong>Save</strong> on
the resulting page.</li>
</ol>
<p><strong>Disable the trace service</strong></p>
<p>To disable a trace service, follow these steps:</p>
<ol>
<li><a href="../admin/acstart.htm">Start the administrative console.</a></li>
<li> Expand <strong>Troubleshooting</strong>.</li>
<li>Click <strong>Logs and Trace</strong>.</li>
<li>Click your application server from the table.</li>
<li>Click <strong>Diagnostic trace</strong>.</li>
<li>Select a tracing option:
<ul>
<li>To disable a static trace, select the <strong>Configuration</strong> tab.
Uncheck the <strong>Enable Trace</strong> checkbox.</li>
<li>To disable a dynamic trace, select the <strong>Runtime</strong> tab.
Change the <strong>Trace Specification</strong> to <em>*=all=disabled</em>.</li>
</ul>
<p>The panel displays the attribute values currently assigned. Make any configuration
changes and continue.</p>
</li>
<li>Click <strong>Apply</strong>.</li>
<li>If enabling static trace, click the <strong>Save</strong> link at the top
of the page to save your configuration changes. Click <strong>Save</strong> on
the resulting page.</li>
</ol>
</body>
</html>