Skip to main content

Via API

After you invoke an action, you can stream the invocation’s logs in real time:
Log lines will be truncated to 64KiB. For large payloads write data to external storage and log a reference instead.

Example

Here’s an example showing how to handle streaming logs:
Typescript/Javascript

Via CLI

You can also stream the logs to your terminal via the CLI:
If you don’t specify --follow, the logs will print to the terminal until 3 seconds of inactivity and then stops. You can get logs for a specific invocation by adding: