Inspect process output
Set up the Baseten CLI, then setSANDBOX_NAME
to the sandbox’s name.
To read a process’s output:
Replace worker with the name used when starting the process, then run the
following command to print its stdout and stderr:
baseten sandbox process logs and
baseten sandbox process describe.
For SDK examples, see Run commands in a sandbox.
Inspect sandbox logs
Runtime logs include each process’s stdout at info level and its stderr at error level. The CLI doesn’t read runtime logs; use the dashboard or the API.- UI
- API
To inspect a sandbox’s runtime logs:
- Sign in to your workspace at app.baseten.co and choose Sandboxes in the sidebar.
- Choose the sandbox.
- Choose Logs.
- To see earlier entries, choose Live, choose Custom, and select the time range that contains the operation.
- To narrow the entries, choose Level and select the levels to show.
Inspect image build logs
Inspect the build logs when building or importing an image returnsFAILED.
- UI
- CLI
- API
To inspect image build logs:
- In Sandboxes, choose Images, then choose the image whose build failed.
- Choose Logs.