Small logs that rotate more frequently are wiped out and the loss of diagnostic logs make it harder to debug. This pull request brings a new deletion mechanism with a config option of max space allowed for all types of log files. (`proxy.config.log.auto_delete_files_max_space_mb`)
The deletion will happen on the oldest file from the log type with biggest ratio=(total size used by the type)/(max space allowed for the type). Log types that are not configured with the max space allowed will not be considered for deletion. (If the config option is empty, then traffic server won't delete any files.) [ Full content available at: https://github.com/apache/trafficserver/pull/4204 ] This message was relayed via gitbox.apache.org for [email protected]
