Use this page to view and modify the settings for the Java virtual machine (JVM) System.out and System.err logs.
To view this administrative console page, click Troubleshooting > Logs and Trace >server name > JVM Logs .
View and modify the settings for the Java Virtual Machine (JVM) System.out and System.err logs for this managed process. The JVM logs are created by redirecting the System.out and System.err streams of the JVM to independent log files. The System.out log is used to monitor the health of the running application server. The System.err log contains exception stack trace information that is useful when performing problem analysis. There is one set of JVM logs for each application server and all of its applications. JVM logs are also created for the deployment manager and each node manager. Changes on the Configuration panel will apply when the server is restarted. Changes on the Runtime panel will apply immediately.
Configuration tab
The name of one of the log file described on this page.
The first file name field specifies the name of the System.out log. The second file name field specifies the name of the System.err file.
Press the View button on the Runtime tab to view the contents of a selected log file. The file name specified for the System.out log or the System.err log must have one of the following values:
If the directory containing the file already exists, the user ID under which the server is running requires read/write access to the directory. If the directory does not exist, it will be created with the proper permissions. The user id under which the server is running must have authority to create the directory.
You can also change the location and name of the ${SERVER_LOG_ROOT}/SystemOut.log and
${SERVER_LOG_ROOT}/SystemErr.log files to any other absolute path and filename (for example, /tmp/myLogfile.log).
The format to use in saving the System.out file.
Use this set of configuration attributes to configure the System.out or System.err log file to be self-managing.
A self-managing log file writes messages to a file until reaching either the time or size criterion. At the specified time or when the file reaches the specified size, logging temporarily suspends while the log file rolls over, which involves closing and renaming the saved file. The new saved file name is based on the original name of the file plus a timestamp qualifier that indicates when the renaming occurs. Once the renaming completes, a new, empty log file with the original name reopens and logging resumes. All messages remain after the log file rollover, although a single message can split across the saved and the current file. You can only configure a log to be self-managing if the corresponding stream is redirected to a file.
This attribute is only valid if you click File size.
Note: The rollover always occurs at the beginning of the specified hour of the day. The first hour of the day, which starts at 00:00:00 (midnight), is hour 1 and the last hour of the day, which starts at 23:00:00, is hour 24. Therefore, if you want log files to roll over at midnight, set the start time to 1.
Configure a log file to roll over by time, by size, or by time and size. Click File Size and Time to roll the file at the first matching criterion. For example, if the repeat time field is 5 hours and the maximum file size is 2 MB, the file rolls every 5 hours, unless it reaches 2 MB before the interval elapses. After the size rollover, the file continues to roll at each interval.
The number of historical (rolled) files to keep. The stream writes to the current file until it rolls. At rollover, the current file closes and is saved as a new name consisting of the current name plus the rollover timestamp. The stream then reopens a new file with the original name to continue writing. The number of historical files grows from zero to the value of the maximum number of historical files field. The next rollover deletes the oldest historical file.
Runtime tab
The name of one of the log file described on this page.
The first file name field specifies the name of the System.out log. The second file name field specifies the name of the System.err file.
Press the View button on the Runtime tab to view the contents of a selected log file. The file name specified for the System.out log or the System.err log must have one of the following values:
If the directory containing the file already exists, the user ID under which the server is running requires read/write access to the directory. If the directory does not exist, it will be created with the proper permissions. The user id under which the server is running must have authority to create the directory.
You can also change the location and name of the ${SERVER_LOG_ROOT}/SystemOut.log and
${SERVER_LOG_ROOT}/SystemErr.log files to any other absolute path and filename (for example, /tmp/myLogfile.log).
Searchable topic ID: utrb_jvmlogs