View JVM logs
The JVM logs are written as plain text files.
(ZOS) The SystemOut.log and SystemErr.log JVM logs are located in the job logs of the application server.
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.
IBM recommends using the High Performance Extensible Logging (HPEL) log and trace infrastructure . We view HPEL log and trace information using the logViewer .
Tasks
- View the JVM logs from the administrative console.
- Start the administrative console.
- Click Troubleshoot > 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.
- Select the runtime tab.
- Click View corresponding to the log we want to view.
- View the JVM logs from the machine where they are stored.
- Go to the machine where the logs are stored.
- Navigate to the profile_root/logs/server directory and select SystemOut.log or SystemErr.log.
- Open the file in a text editor or drag and drop the file into an editing and viewing program.
Use High Performance Extensible Logging to troubleshoot applications