Concern: Cloud Proxy Logs might fill up the drive pretty quick.
Question: Is there a way to control the Cloud Proxy logging size and retention days?
Release : SAAS
Component : APM SAAS ENTERPRISE, Cloud Proxy
Configurable
Answer:
Per the DX SaaS Guide:
Update the Log File History and Size
Open ./config/application.yml and then add the following hidden properties:
logging.file.max-history:<number-of-days>
By default, the log files rotate when they reach 10 MB. The rotated log files are retained for seven days, unless you update the value of this setting.
Example: logging.file.max-history:14
In this example, the log files are retained for 14 days.
logging.file.total-size-cap:<size-in-bytes-including-units>
Define the size of the total log archive. When the archive size exceeds the threshold, backups are deleted. The supported units are: byte; kilobyte; megabyte; gigabyte; terabyte