In the last post, we mentioned create-openidm-logrotate.sh which is shell script provided by OpenIDM and used to generate a logrotate configuration. Here is what is generated in the result file openidmlog :

/opt/openidm/audit/* {
    daily
    missingok
    rotate 54
    compress
}

But i would strongly recommend to change it as follows :

/opt/openidm/audit/*.csv {
    daily
    missingok
    rotate 54
    compress
}

In fact, this will prevent logrotate from managing archives already generated by logrotate itself, which causes a redundancy and an exponential increase of the number of files.