From the course: Google Cloud Platform (GCP) Essential Training for Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Writing to Cloud Logging

Writing to Cloud Logging - Google Cloud Tutorial

From the course: Google Cloud Platform (GCP) Essential Training for Developers

Start my 1-month free trial

Writing to Cloud Logging

- [Instructor] Let's talk about Google Cloud Logging Service. Cloud logging is where we would send all our logs from all our systems and applications in order to make it easy for us to view the overall health of our systems. There are many ways to write logs into the logging service. Let's go over all of them. If you use any of these services, like App Engine, GKE, Cloud Run, and Cloud Functions, they are already collecting and sending logs to cloud logging out of the box. So you're all set and additional setup is optional. Now, if you are using Google Compute Engine or AWS EC2, you can use the logging agent to collect and send logs to cloud logging. There are instructions on how to install and configure the logging agent in Google Cloud's documentation. If your application is running elsewhere, then another option is to use any of the logging libraries to send application logs to cloud logging. There are libraries for…

Contents