Resolution

How can I set a log rotation rule in JFrog Mission Control?

AuthorFullName__c
David Shin
articleNumber
000004130
ft:sourceType
Salesforce
FirstPublishedDate
2018-05-24T23:43:36Z
lastModifiedDate
2024-03-10T07:46:10Z
VersionNumber
5

In the logback.xml you will find four appenders: 

  • Console - Writes the stdout. We recommend not to change anything in this appender. 
  • File-Audit - Creates audit.log
  • File-Monitoring - Creates monitoring.log
  • File - Creates mission-control.log

In each appender, you will find the property <maxFileSize> which is set to 10MB. This will set the maximum size per log file. 

In addition, in order to limit Mission-Control to create number of logs per your request, you will need to add the following to each of the three appenders (all except Console):

<MinIndex>1</MinIndex>
<MaxIndex>9</MaxIndex>

The above will limit each appender to create 9 logs of each file.