To configure Mission-Control’s logging rotation, go to the $MISSION_CONTROL_HOME/etc folder and look for the logback.xml file. It has four appenders:
- Console: Writes the stdout. We recommend that you not change anything here.
- File-Audit: Creates the audit.log
- File-Monitoring: Creates the monitoring.log
- File: – Creates the mission-control.log
Within each appender, you’ll find the <maxFileSize> property, which sets the maximum size per log file. By default, this is set at 10MB.
Additionally, to set limits on the number of logs per request that Mission Control creates, you’ll need to add the following to all but the first appender listed above:
<MinIndex>1</MinIndex> <MaxIndex>9</MaxIndex>
This will limit each appender to the creation of 9 logs for each file.