cloudfoundry / bosh

Cloud Foundry BOSH is an open source tool chain for release engineering, deployment and lifecycle management of large scale distributed services.
https://bosh.io
Apache License 2.0
2.03k stars 657 forks source link

Retention period of task logs #2508

Open Malsourie opened 6 months ago

Malsourie commented 6 months ago

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.

mvach commented 5 months ago

Currently plan is to implement that at the end of April or beginning of May.

Malsourie commented 4 months ago

Feature PR: https://github.com/cloudfoundry/bosh/pull/2520 Docs PR: https://github.com/cloudfoundry/docs-bosh/pull/835