Reference

rebase run logs

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

Synopsis

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

Arguments

ArgumentTypeDescription
<run-id>strRun ID.

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 Run Type

TargetRun typeLog source
Workflowquick or longPrefect's log API — includes print() output from workflow and step code.
Function or modellongCloud Run Jobs logs via Cloud Logging, correlated by job execution.
Function or modelquickCloud Run service logs via Cloud Logging, correlated by service revision and run markers.
Function or modelquick_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