orke package logs

Read output or error logs by cycle, step, and attempt.

Command referenceEnglish

When to use it

Read output or error logs by cycle, step, and attempt.

Usage

Syntax · [ ] marks optional arguments
orke package logs --slug <string> --cycleId <string> --step <integer> --attempt <integer> --stream <stdout|stderr> [--maxBytes <integer>]

Options

OptionsRequired?Value and description
--slugRequiredPackage identifier returned by list or create.
--cycleIdRequiredCycle ID to query, or the observed current cycle ID.
--stepRequiredStep number.
Range: 1–2147483647
--attemptRequiredAttempt number for that step.
Range: 1–2147483647
--streamRequiredstdout | stderr
stdout contains answer output; stderr contains progress and error logs.
--maxBytesOptionalByte budget for records read in one call.
Range: 1–8192

Common management options and errors →

Example

Terminal
orke package logs --slug package_slug --cycleId observed_cycleId --step 1 --attempt 1 --stream stdout

Replace the example IDs, folders, references, and revision with values from actual queries. Element references such as e7 must also come from the latest observation.

What to check in the result

PackageLogSlice: text/startOffset/endOffset/truncated/readState

Behavior and states to watch

  • Read a log tail of up to 8192 bytes once, using a fixed end position. Distinguish missing, ready, and unreadable.

Search documentation

The page could not be displayed. Reload ×