Saturday, May 13, 2017

Limiting the log file size in obiee 12c

We need to use logrotate to limit the log file size
Modify the logrotate.conf under etc folder as below:

cat /etc/logrotate.conf

$ORACLE_HOME/user_projects/domains/bi/servers/obips1/logs {
    size 50M
    create 700  obiee obiee
    rotate 5

Size: 50M – logrotate runs only if the file size is equal to (or greater than) this size.
Create: – rotate the original file and create the new file with specified permission, user and group.

Rotate: – limits the number of log file rotation. So, this would keep only the recent 5 rotated log files.

No comments:

Post a Comment

  Opatch reports 'Cyclic Dependency Detected' error when patching ODI   Issue: When applying a Patch Set Update (PSU) to WebLogic Se...