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
| Parameter | Description | Required |
|---|---|---|
-e, --env-id <envId> | Environment ID | No |
--run-id <runId> | Deployment runtime ID. Obtain it from tcb cloudrun record list | Yes |
--json | Output in JSON format | No |
-h, --help | Display command help | No |
Output
By default, runtime logs are printed line by line. With --json, log content is available in the data.Logs array.