rwx sandbox background logs
Show logs for a managed background process.
Usage
rwx sandbox background logs [config-file] --key <key> [flags]
Description
Print the available output for the process. By default, the command prints the current logs and exits. Pass --follow to continue streaming new output until interrupted.
Use the key from rwx sandbox background --key, or the key of a process declared in the sandbox task's background-processes.
With --json or --format json, the command returns process metadata, including log paths when available, rather than printing or following log output.
Arguments
[config-file]
The path to the sandbox configuration file used to select an existing sandbox. Defaults to .rwx/sandbox.yml. --id takes precedence.
Options
-f, --follow
Follow log output.
--key <key>
(required) The key of the managed process whose logs you want to show.
--id <run-id>
Use a specific sandbox session.
Global options
--format <format>
Output format: text or json. Defaults to text.
--json
Output JSON data to stdout. Equivalent to --format json.
--access-token <token>
The access token for RWX. Defaults to the value of the $RWX_ACCESS_TOKEN environment variable.