Logs
Build logs, request logs and your app's own output, searchable per deploy.
Run keeps three kinds of logs:
| Kind | What | Kept |
|---|---|---|
| Build | the output of every build | with the build |
| Request | one line per request served: method, path, status, duration, deploy, cache hit | per plan |
| App | what your code writes to standard output and standard error, from functions, containers, jobs and consumers | per plan |
npx @sypnia/run logs # follow production
npx @sypnia/run logs --deploy dpl_7h3k --since 1h --level error
npx @sypnia/run logs --job close-day --since 24hA line your code writes as JSON is kept as fields, so --where 'order=1042' works. Lines are never sampled; when a burst exceeds the rate a plan allows, the excess is counted and the count is shown, not silently dropped.
Where they live
In the engine, logs are in Amazon CloudWatch Logs in your account, one log group per app and environment. In Sypnia Cloud, the same, read through the console and the API; you never need CloudWatch access.
Personal data in logs is your responsibility; avoid logging tokens and passwords. Run masks the values of your secrets wherever they appear.