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 > JVM Logs.
Configuration tab
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.
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.
Specifies 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.
Specifies whether System.out or System.err print statements issued from application code are logged and formatted.
Runtime tab
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.