Azure / Azure/custom-script-extension-linux
Add log rotation for custom script extension logs
- Dominant language
- Go
- Stars
- 113
- Forks
- 46
- Avg merge
- 6d 3h
- Merged PRs (30d)
- 3
Description
We've encountered an issue where our custom script extension generates very large logging output (100+ MB). As these files don't seem to be cleaned up frequently (or at all?), the logs accumulate in /var/lib/waagent/custom-script/downloads and end up using huge amounts of disk space.
Can log rotation for these files be configured?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the code that manages files under /var/lib/waagent/custom-script/downloads and any existing cleanup or logging behavior. Determine how log rotation could be configured for accumulated custom script logs, then verify that large log files are rotated or removed without affecting script execution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100