amazon-cloudwatch-agent
amazon-cloudwatch-agent copied to clipboard
Rotate amazon-cloudwatch-agent.log
Is your feature request related to a problem? Please describe.
amazon-cloudwatch-agent.log contains logs created by the cw-log-agent itself. Does amazon-cloudwatch-agent.log rotate ? If not, does the agent remove old log entries from this single log file ?
Describe the solution you'd like
Add a config to rotate amazon-cloudwatch-agent.log so old log_files can be auto-removed via the auto_removal flag
Describe alternatives you've considered Configure another process to periodically clean-up amazon-cloudwatch-agent.log
Additional context Not applicable