Sandboxes π
Log streaming
Access logs generated by a sandbox in real time.
Logging provides developers with visibility into process outputs within sandboxes. You can retrieve logs either in batch or streaming.
Complete code examples demonstrating all operations are available on Blaxelβs GitHub: in TypeScript and in Python.
Retrieve logs
In batch
Retrieve logs for a specific process (using either its name or process ID) after it has completed execution. By default, this retrieves standard output (stdout):
To retrieve standard error (stderr):
To retrieve both stderr and stdout:
Streaming
Stream logs for a specific process (using either its name or process ID):