Set Log Rotation and Purge
- In the API Console, select Manage.
-
Set the log rotation and purge parameters:
- Select MAMI master.
-
Under Configuration, select the
setLoggingConfigmethod. - Edit the parameters:
logRotationMaxSizeKBRotate log files when bigger than the specified number of kilobytes.
logPurgeMaxSizeKBPurge log files when their total size is above the specified number.
logExpirationDaysPurge log files when older than the specified number of days.
logRotationCronExpressionTrigger log rotation with a custom cron expression.
- Click Save.
- Click Apply to apply the parameters.