Network Deployment (Distributed operating systems), v8.0 > Troubleshoot and support > Work with trace


Enable trace at server startup

Use the admin console to enable tracing at a server's startup. We can use trace to assist you in monitoring system performance and diagnosing problems.

The diagnostic trace configuration settings for a server process determines the initial trace state for a server process. The configuration settings are read at server startup and used to configure the trace service. We can also change many of the trace service properties or settings while the server process is running.

With WAS v8 you can configure the server to use the HPEL log and trace infrastructure instead of using SystemOut.log , SystemErr.log, trace.log, and activity.log files or native z/OS logging facilities. If you are using HPEL, you can access all of your log and trace information using $PROFILE/bin/LogViewer.sh.


Procedure

  1. Start the admin console.

  2. Click Troubleshoot > Logs and trace then click Server > Diagnostic Trace.

  3. Click Configuration.
  4. Do not select the None check box. If this option is selected, the trace data is not logged or recorded anywhere. All other handlers (including handlers registered by applications) still have an opportunity to process these traces.

  5. Select whether to direct trace output to either a file or an in-memory circular buffer.

    Different components can produce different amounts of trace output per entry. Naming and security tracing, for example, produces a much higher trace output than web container tracing. Consider the type of data being collected when you configure your memory allocation and output settings.

  6. If the in-memory circular buffer is selected for the trace output set the size of the buffer, specified in thousands of entries. This is the maximum number of entries that will be retained in the buffer at any given time.

  7. If a file is selected for trace output, set the maximum size in megabytes to which the file should be allowed to grow. When the file reaches this size, the existing file will be closed, renamed, and a new file with the original name reopened. The new name of the file will be based upon the original name with a timestamp qualifier added to the name. In addition, specify the number of history files to keep.

  8. Select the desired format for the generated trace.

  9. Save the changed configuration.

  10. To enter a trace string to set the trace specification to the desired state:

    1. Click Troubleshoot > Logs and trace

    2. Select a server name.

    3. Click Change Log Level Details.

    4. If All Components has been enabled, you might want to turn it off, and then enable specific components.

    5. Click a component or group name. For more information see the page on log level settings. If the selected server is not running, you will not be able to see individual component in graphic mode.

    6. Enter a trace string in the trace string box.

    7. Select Apply, then OK.

  11. Allow enough time for the nodes to synchronize, and then start the server.


Use HPEL to troubleshoot applications


Related


Trace and logging configuration
Log level settings

+

Search Tips   |   Advanced Search