By default, the DataSource
subsystem optionally keeps a log of all DataSource profile information
in a text file. The default location and rotation policy for DataSource
Profile logs is the same as the server log, in the logs
directory below the server instance root directory. See Change server log file
name and location.
Enter an absolute pathname or a pathname that is relative to the server's root directory. If you use the Node Manager to start a Managed Server, the root directory is located on the computer that hosts the Node Manager process. For more information, see A Server's Root Directory.
java.text.SimpleDateFormat
variables to the file name and surround each variable with
percentage (%
)
characters.
access.log
.
Use the following java.text.SimpleDateFormat
format to specify a date and time: MM-DD-yyyy-k:mm:ss.
At the time that you specify, the server rotates the current log file. If the time that you specify is already past, the server starts its file rotation immediately. Thereafter, the server rotates the DataSource Profile log file at an interval that you specify in Rotation Interval.
Enter an absolute pathname or a pathname that is relative to the server's root directory. By default, the rotated files are stored in the same directory where the log file is stored.
After you finish
Restart the server.