msb logs <name> from the CLI or logs() from the SDK.
Read logs
stdout, stderr, and PTY output. Add system diagnostics when you need runtime or kernel logs:
Read from the SDK
Sources
Interactive sessions use a PTY, so stdout and stderr are merged before microsandbox receives them. Non-interactive
exec calls keep the streams separate.
Diagnostic flows
Sandbox crashedmsb create only boots a sandbox. Run something with msb run, msb exec, or an SDK exec call to produce user-program output.
On disk
Sandbox logs live under<sandbox-dir>/logs/: