APP_LOGS_RETENTION), so one chatty app can fill the disk or push everyone else’s history out. A budget caps the stored log bytes per app. When an app goes over, its oldest lines are trimmed. Other apps are never touched.
Set a budget
Every app can have its own override, and a fleet default applies to apps without one.
A per-app value of 0, or
clear, falls back to the fleet default. Changing a budget needs the same ability as enabling tracing.
How trimming works
The hourly log retention sweep checks each app against its budget. An app over budget loses its oldest lines, in batches, until it is under. Each app drains a bounded amount per sweep (20,000 lines), so a very large backlog is worked down over several sweeps instead of blocking the database. Search stays consistent because trimmed lines leave the full text index at the same time. The running total of trimmed lines per app is kept and shown as Trimmed in the table.See the noisiest apps
GET /api/v1/logs/usage, limited to apps the caller can read.