Skip to content

Latest commit

 

History

History
60 lines (44 loc) · 2.26 KB

File metadata and controls

60 lines (44 loc) · 2.26 KB

bitrise-cli rde session logs

Print a session's warmup or startup logs

Synopsis

Print the warmup or startup script logs for a session — useful for debugging a session stuck provisioning or one that came up failed. The log replays from the start every time you connect.

By default this prints the log captured so far and exits, without waiting for more output. Pass --follow to keep streaming new output live until you stop it with Ctrl-C (the backend does not signal end-of-log, so --follow runs until interrupted).

--stage which script's logs to show: warmup or startup (required). warmup runs once at session creation; startup runs on every session start/restart. --follow keep streaming new output until Ctrl-C, and wait for the stage to start if it hasn't produced any logs yet (instead of erroring).

--output is ignored — logs stream as raw text. Pipe or redirect as needed; diagnostics go to stderr so a redirect captures only log text. --output json is rejected (the feed is plain text, not a single object).

bitrise-cli rde session logs SESSION_ID --stage warmup|startup [flags]

Examples

  bitrise-cli rde session logs SESSION_ID --stage startup
  bitrise-cli rde session logs SESSION_ID --stage warmup
  bitrise-cli rde session logs SESSION_ID --stage startup --follow
  bitrise-cli rde session logs SESSION_ID --stage startup > session.log

Options

  -f, --follow         keep streaming until Ctrl-C, waiting for the stage to start if needed
  -h, --help           help for logs
      --stage string   which logs to show: warmup or startup (required)

Options inherited from parent commands

      --no-color           disable ANSI colors (NO_COLOR env is also honored)
  -o, --output string      output format: human|json (default "human")
  -q, --quiet              suppress non-error diagnostic messages
      --theme string       color theme: auto|dark|light|none (default "auto"; overrides terminal background detection)
      --workspace string   workspace ID (or set BITRISE_WORKSPACE_ID or default_workspace_id; auto-detected if you have exactly one workspace)

SEE ALSO