amazon-cloudwatch-agent icon indicating copy to clipboard operation
amazon-cloudwatch-agent copied to clipboard

Rotate amazon-cloudwatch-agent.log

Open ShawneeY opened this issue 1 year ago • 0 comments

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

ShawneeY avatar Mar 14 '24 19:03 ShawneeY