Skip to main content

View Runtime Logs

Use tcb cloudrun logs process to view Cloud Hosting runtime logs by runtime ID.

Basic Usage

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

Examples

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

# View logs for a specified runtime ID
tcb cloudrun logs process -e env-123456 --run-id 123456

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

Command Parameters

ParameterDescriptionRequired
-e, --env-id <envId>Environment IDNo
--run-id <runId>Deployment runtime ID. Obtain it from tcb cloudrun record listYes
--jsonOutput in JSON formatNo
-h, --helpDisplay command helpNo

Output

By default, runtime logs are printed line by line. With --json, log content is available in the data.Logs array.