+

Search Tips   |   Advanced Search

Log and trace settings

View and configure logging and trace settings for the server.

We can only access this page when the server is configured to use basic log and trace mode.

From the admin console, click...

(ZOS) Note: We can configure tracing from the MVS console using the modify command.

IBM recommends using the High Performance Extensible Logging (HPEL) log and trace infrastructure . We view HPEL log and trace information using the logViewer .


Switch to HPEL Mode

Use the Switch to HPEL Mode button to change the log and trace mode for the server to HPEL.

Switching the server to HPEL log and trace mode requires a server restart.


Diagnostic Trace

The diagnostic trace configuration settings for a server process determine 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.


JVM Logs

The JVM logs are created by redirecting the System.out and System.err streams of the JVM to independent log files. WebSphere Application Server writes formatted messages to the System.out stream. In addition, applications and other code can write to these streams using the print() and println() methods defined by the streams.


Process Logs

WAS processes contain two output streams that are accessible to native code running in the process. These streams are the stdout and stderr streams. Native code, including Java virtual machines (JVM), might write data to these process streams. In addition, JVM provided System.out and System.err streams can be configured to write their data to these streams also.


IBM Service Logs

The IBM service log contains both the WAS messages that are written to the System.out stream and some special messages that contain extended service information that is normally not of interest, but can be important when analyzing problems. There is one service log for all WAS JVMs on a node, including all application servers.


Change Log Level Details

Enter a log detail level that specifies the components, packages, or groups to trace. The log detail level string must conform to the specific grammar described in this topic. We can enter the log detail level string directly, or generate it using the graphical trace interface.


NCSA access and HTTP error logging

The NCSA access and HTTP error logging page enables us to configure the log settings for our HTTP server.


(ZOS) Change log and trace mode

To switch between HPEL mode or Basic mode logging.

Switching the server to HPEL log and trace mode requires a server restart.


  • Use basic or traditional message logs to troubleshoot applications
  • Use High Performance Extensible Logging to troubleshoot applications
  • (ZOS) Modify command