Reference

rebase run logs

Show run events, workflow step state, and captured stdout/stderr logs.

Synopsis

rebase run logs
rebase run logs <run-id>
rebase run logs <run-id> --no-follow
rebase run logs <run-id> --json

Arguments

ArgumentTypeDescription
<run-id>strRun ID or a unique prefix of one. Omit it for the workspace's latest run.

Options

OptionTypeDescription
--follow / --no-followboolFollow until the run reaches a terminal state. Defaults to --follow.
--poll-intervalfloatSeconds between run status polls when following. Defaults to 1.0.
--timeoutintMaximum seconds to follow the run. Defaults to 600.
--jsonboolPrint raw event, step, and log JSON output.

Output

Shows persisted run events, workflow step state (for workflow runs), and the run's stdout/stderr log lines. When following, new log lines stream in as they arrive; error-level lines are highlighted.

Log availability by execution mode

TargetExecutionLog source
Workflowinteractive/shared or jobPrefect's log API — includes print() output from workflow and step code.
Function or modeljobCloud Run Jobs logs via Cloud Logging, correlated by job execution.
Function or modelinteractive/dedicatedCloud Run service logs via Cloud Logging, correlated by service revision and run markers.
Function or modelinteractive/sharedNot available yet — the command prints an explanatory message.

Cloud Logging ingestion can lag by a few seconds, so lines may continue to appear briefly after the run finishes; the command performs a final fetch after the run reaches a terminal state.

On this page