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

SQL query to find whether OdiSendMail is configured or not ODI 12c

In the SQL developer connect to the ODI work repository user (Ex: DEV_ODI_REPO) and run the below query. select SCEN_NAME,TASK_NAME3,DE...