Skip to content

Logs

Build logs, request logs and your app's own output, searchable per deploy.

Applies to EngineCloud
View as Markdown

Run keeps three kinds of logs:

KindWhatKept
Buildthe output of every buildwith the build
Requestone line per request served: method, path, status, duration, deploy, cache hitper plan
Appwhat your code writes to standard output and standard error, from functions, containers, jobs and consumersper plan
Terminal
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 24h

A 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.

    Search pages, sections and terms