docs: how long carlos logs keeps logs, and the two settings
Copy approved unedited in review kxsus3tdq6cjwrrklyjjmrgjf4.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+2
−0
docs/site/cli.md+2 −0
CI failed — run details
diff --git a/docs/site/cli.md b/docs/site/cli.md| index 55b6c4fee..c6d966605 100644 |
| --- a/docs/site/cli.md |
| +++ b/docs/site/cli.md |
| @@ -1711,6 +1711,8 @@ carlos logs --app hello --since 1h -f |
| an RE2 pattern, `--stream app` drops the platform commentary, and `--host` |
| narrows to one instance. |
| +Logs and errors are kept for 7 days, up to 50 MiB per app on each server, whichever runs out first. On your own servers you can change both in each server's host.env: `CARLOS_LOG_RETENTION_DAYS` takes whole days, and `CARLOS_LOG_RETENTION_MB` takes whole MiB or `off` for no size limit. A value the server can't use is logged, and the default stays. |
| + |
| ### carlos explain |
| `carlos explain <code> --app <a>` reads a reference code from a page the platform's edge protection answered. It says which rule fired and when, and shows the request while a record of it is kept, for 7 days. |