GCP · Operations
Cloud Logging
Centralized logs across GCP.
Official docsOverview
Cloud Logging ingests structured logs from GCP, agents and apps with retention, sinks and log-based metrics.
When to use it
- Debug failed tests in deployed envs
- Build SLO-aware QA dashboards
Setup
- Logging is on by default for most GCP services.
- Define log sinks to BigQuery/GCS/Pub/Sub for analysis.
How to use
Query
gcloud logging read 'resource.type=cloud_run_revision AND severity>=ERROR' --limit=20QA use cases
- Correlate failed e2e runs with backend errors via trace IDs.
