Limiting the Size and Number of anzo_full Logs
Follow the instructions below if you want to configure the Pax Logging SLF4j Listener Service to limit the size and number of anzo_full logs that are retained on disk. You can also set a limit on the total size of all anzo_* logs.
- In the Administration application, expand the Servers menu and click Advanced Configuration. Click I understand and accept the risk.
- Search for the Pax Logging SLF4j Listener bundle and view its details.
- Click the Services tab and expand the SLF4j Log Listener service.
- Find the maxLogFileSize, maxHistory, and totalSizeCap properties (shown below).
- Edit any of the following properties to set them to the desired values:
- pax.logging.logback.maxLogFileSize: This property sets the maximum file size for anzo_full.log. When the maximum size is reached, Anzo stops writing to that file and creates a new one.
- pax.logging.logback.maxHistory: This property specifies the maximum number of historical anzo_full.log files to keep. When this limit is reached, Anzo deletes the oldest file.
- pax.logging.logback.totalSizeCap: This property sets the total size limit for all anzo_* log files combined.
- After editing a property, click the checkmark icon () for that property to save the change.
- Restart Anzo to apply the configuration changes.