Rotate and Purge Logs

You can set log parameters in the API Console (http://<HOSTNAME>:<BASEPORT+1>/api-ui) to manage the thresholds and rotation behavior.

See Also
Access Logs
Change Log Location
Fixing Out of Memory Issues
Monitoring CloudView Processes
  1. In the API Console, select Manage.
  2. Specify the log rotation and purge parameters:
    1. Select MAMI master
    2. Under Configuration, select the setLoggingConfig method.
    3. Edit the parameters:

    Parameter Description

    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

  3. Click Save.
  4. Click Apply to apply the parameters.