Log Rotation: ODL
Logs for products that use ODL are rotated automatically, depending on settings in the products'
logging configuration files. For example, a log is rotated when its file size
reaches the limit specified in the maxFileSize property. ODL
rotates a log by archiving the main log file and creating a new main log file. For
example, FoundationServices0.log is a main log file for Oracle Hyperion Foundation Services. When
FoundationServices0.log reaches the specified maximum file
size, it is archived as
FoundationServicesn.log,
where n is the next number in the archive numbering sequence. For
more information about ODL log file property settings that affect rotation and log
file retention, see Table 3-9.
To change log4j log rotation settings:
Some products may require additional steps.
Table 3-10 CompositeRollingAppender Properties
| Property | Settings |
|---|---|
| RollingStyle |
Caution: RollingStyle 3 could provide confusing results, because naming conventions for logs rolled by time and size differ, and deletion counters do not count logs rolled differently together. |
| DatePattern value |
The time interval for writing log messages to another log file if For |
| MaxFileSize |
The file size (iu KB, MB, or GB) that triggers the creation of a new log file if Default: 5MB |
| MaxSizeRollBackups |
The maximum number of log files per originator type (plus one for the current file) that can exist before the system deletes the oldest file, if Default: 5 |