When Create Container-Optimized OS Run Docker, But Logging Not Work


Make Sure These

VM’s Metadata Have google-logging-enabled = true

Check Stackdriver Container

Find The Reason Is User Unauthorized To Access

So We Need Add New Permission To Compute Service Account

  • Logs Writer

  • Monitoring Metric Writer

Restart Stackdriver Container

After Restart, You Can Go To Logging Console