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
setLoggingConfig
method. - Edit the parameters:
logRotationMaxSizeKB
Rotate log files when bigger than the specified number of kilobytes.
logPurgeMaxSizeKB
Purge log files when their total size is above the specified number.
logExpirationDays
Purge log files when older than the specified number of days.
logRotationCronExpression
Trigger log rotation with a custom cron expression.
- Click Save.
- Click Apply to apply the parameters.