# omi logs rotate configuration settings /var/opt/omi/log/omiserver.log { # keep 5 worth of backlogs rotate 5 # If the log file is missing, go on to the next one # without issuing an error message. missingok # Do not rotate the log if it is empty, # this overrides the ifempty option. notifempty # Old versions of log files are compressed with gzip by default. compress # Log files are rotated only if they grow bigger then 100M. size 100M # Truncate the original log file in place after creating a copy, # instead of moving the old log file and optionally creating a new one. copytruncate } /var/opt/omi/log/omiagent.root.root.log { rotate 5 missingok notifempty compress size 100M copytruncate } /var/opt/omi/log/miclient.log { rotate 5 missingok notifempty compress size 100M copytruncate }