# Executions and logs

Source: https://cubibase.com/docs/functions/logs

Also available: [Markdown version](https://cubibase.com/docs/functions/logs.md) · [llms.txt](https://cubibase.com/llms.txt) · [full site content](https://cubibase.com/llms-full.txt)

Every invocation — HTTP, database, storage, scheduled and test — produces one execution record with timing, outcome and captured console output. Logs are bounded, redacted and isolated per project.

## What is recorded

| Field | Meaning |
| --- | --- |
| Invocation id / correlation id | Trace one run end to end; async events also carry their eventId |
| Trigger and deployment version | Which trigger fired and which immutable version ran |
| Status | success, error, timeout, rejected (quota), or running |
| Duration and billed duration | Wall time and the metered time (100 ms floor, rounded up to 100 ms, capped at the timeout) |
| Memory | Configured MB and peak RSS when available |
| HTTP status | For HTTP and test invocations |
| Error category and message | Redacted; infrastructure details never reach callers |

- console.log/info/warn/error are captured per execution: at most 200 lines, 4 KB per line, 64 KB total — the record flags truncation.
- Credentials are redacted before storage: authorization headers, bearer tokens, cb_sec_/cb_pub_ keys, JWTs, sk_live/sk_test and whsec_ patterns.
- Retention is plan-based (3 days Free, 14 Pro, 30 Business); older records are purged automatically.

## Finding a run

Functions → Executions & Logs lists executions with filters for function, trigger and status, plus pagination. Open a row for the full record and its log output. The Delivery queue view shows pending, retried and dead-lettered async events. Each function’s Logs tab shows the same data scoped to that function. There is no live streaming — refresh to see new runs.

## Additional resources

- [Quotas and metering](https://cubibase.com/docs/functions/quotas) How durations become GB-seconds.
