Log Retention

RWX retains logs for 28 days by default. For compliance or security reasons, you can extend retention up to multiple years.

Configure retention on a task with outputs.logs.retention:

tasks:
  - key: deploy
    run: ./deploy.sh
    outputs:
      logs:
        retention: 1 year

Or for all tasks in a run via defaults:

defaults:
  outputs:
    logs:
      retention: 1 year

Retention can be specified in days, weeks, or years. See the logs reference for details and the pricing reference for storage costs.