The Cloud Hooks log records all messages sent to the standard output stream (STDOUT) during Cloud Platform Hook execution. However, this log does not capture messages if you redirect your logs to a log file on the filesystem or if your custom code does not produce any logs.
Parsing the log file
The following line is a representative example of the data written into your Cloud Hooks log:
The pod name. You can use the following regex to retrieve the UUID: command-(?<uuid>[0-9a-f\-]+)-[0-9]+-[0-9a-z]+
Use the UUID to precisely trace each log back to its originating cron job.
2
log_message
The log message.
Cloud Hooks logs
Overview
The Cloud Hooks log records all messages sent to the standard output stream (STDOUT) during Cloud Platform Hook execution. However, this log does not capture messages if you redirect your logs to a log file on the filesystem or if your custom code does not produce any logs.
Parsing the log file
The following line is a representative example of the data written into your Cloud Hooks log: