Viewing JVM logs

The Java™ virtual machine (JVM) logs are written as plain text files.

About this task

[z/OS]The SystemOut.log and SystemErr.log JVM logs are located in the job logs of the application server.

[AIX Solaris HP-UX Linux Windows][IBM i]Use either of two techniques to view the JVM logs for an application server:
  • Use the administrative console, which also supports viewing the JVM logs from a remote machine.
  • Use a text editor on the machine where the logs are stored.
Note: This topic references one or more of the application server log files. As a recommended alternative, you can configure the server to use the High Performance Extensible Logging (HPEL) log and trace infrastructure instead of using SystemOut.log , SystemErr.log, trace.log, and activity.log files on distributed and IBM® i systems. You can also use HPEL in conjunction with your native z/OS® logging facilities. If you are using HPEL, you can access all of your log and trace information using the LogViewer command-line tool from your server profile bin directory. See the information about using HPEL to troubleshoot applications for more information on using HPEL.
[AIX Solaris HP-UX Linux Windows][IBM i]

Procedure

  1. View the JVM logs from the administrative console.
    1. Start the administrative console.
    2. Click Troubleshooting > Logs and Trace in the console navigation tree. To view the logs for a particular server, click on the server name to select it, then click JVM Logs.
    3. Select the runtime tab.
    4. Click View corresponding to the log you want to view.
  2. View the JVM logs from the machine where they are stored.
    1. Go to the machine where the logs are stored.
    2. Navigate to the profile_root/logs/server_name directory and select SystemOut.log or SystemErr.log.
    3. Open the file in a text editor or drag and drop the file into an editing and viewing program.