cloudfoundry / cloudfoundry/bosh

Retention period of task logs

Open
#2,508 2 comments 1 reaction 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.