Chapter 11: Logging on Google Cloud Platform

In this chapter, you will learn how to create both functional logs and error logs, and how to use Cloud Logging to review the flow of your application, filter by results, detect errors, and thus diagnose issues in your applications in a fast and effective way.

In this chapter we will cover the following topics:

  • Introduction to Cloud Logging, the logging solution of GCP
  • Learning logging best practices in the cloud
  • How to enable an application to create custom logs
  • How to watch logs and make advanced logging queries on Cloud Logging
  • Real-case logging examples using Cloud Logging and Cloud Monitoring

Technical requirements

Google Cloud SDK 317 or later is required: https://cloud.google.com/sdk.

Get Google Cloud Certified Professional Cloud Developer Exam Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.