Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

ERROR log for health checks, liveness checks, prediction requests for Vertex AI endpoints?

They seem to log as ERROR, which makes filtering for actual errors in a container really difficult. Is there some way I can change the logging for these so I can actually find errors in my container?

1 REPLY 1

Hi @sangersteel

The information you see in Google Cloud Logging is system defined, you may utilize the Severity level filter found on the upper right corner of the Log Explorer to narrow down your search.

I found a StackOverflow post that is somewhat related to your concern, there mentioned that it is not possible to alter the default system logs however they have found a workaround by installing a google-cloud-logging library.

Here's some other resources that might be helpful.
- Format errors in logs
- Find log entries with error groups

I hope these can help you.