Skip to main content

tcb cloudrun logs process

View runtime logs of a CloudBase Run service by run ID.

Usage​

tcb cloudrun logs process -e <envId> --run-id <runId> [--json]

Parameters​

ParameterRequiredDescriptionDefault
-e, --env-id <envId>NoEnvironment ID—
--run-id <runId>YesDeployment run ID, available from tcb cloudrun record list—
--jsonNoOutput JSONfalse

Examples​

# Get the RunId from the deployment records first
tcb cloudrun record list -e env-123456 -s my-service

# Runtime logs of a specific run ID
tcb cloudrun logs process -e env-123456 --run-id 123456

# JSON output
tcb cloudrun logs process -e env-123456 --run-id 123456 --json

Output​

The default output prints runtime logs line by line. With --json the logs sit in the data.Logs array.