cloudfoundry / cloudfoundry/bosh
Retention period of task logs
Open
@Malsourie is already working on this.
Since May 16, 2024.
- Dominant language
- Ruby
- Stars
- 2.1k
- Forks
- 662
- Avg merge
- 5h 25m
- Merged PRs (30d)
- 2
Description
Is your feature request related to a problem? Please describe.
Currently the debug logs of bosh tasks are cleaned up by ScheduledTasksCleanup module. We can configure the crontab schedule and max_tasks for the job. But the max_tasks is dependent on the platform size and hard to determine.
Describe the solution you'd like
During administration we think that it makes more sense that we have another config parameter retention_period for the job. The scheduled job will always delete the debug logs if the task is out dated.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.