Day-to-Day Operations

Logs, Status, and Debugging

Stream logs

grid logs my-app              # Last 100 lines
grid logs my-app --follow     # Stream in real-time
grid logs my-app --tail 50    # Last 50 lines
grid logs my-app --since 1h   # Last hour
grid logs my-app --deploy d_abc123  # Build log for a specific deploy

Check status

grid status                   # Org-wide dashboard
grid status my-app            # Single entity drill-down

Entity info

grid info my-app              # Display name, kind, org, space, owner, deploy info
grid info my-app --json       # Machine-readable output

SSH into a running pod

grid ssh my-app               # Interactive shell
grid ssh my-app --service api  # Specific service in multi-service app

Debug cross-app calls

grid call other-app /api/health --from my-app
grid call other-app /api/data --method POST --json '{"key":"value"}'

This acquires a service account token and fires an HTTP request with the X-CloudGrid-Caller-Token header.

Diagnose issues

grid doctor

Checks Node.js version, Docker, CLI config, API reachability, auth status, and common port conflicts.