Logging with an external application is enabled (accepts "true" or "false"). The defaults are configured to call "gcloud logging" (see: https://cloud.google.com/sdk/gcloud/reference/logging).
External logging command. The defaults are configured to call "gcloud logging" (see: https://cloud.google.com/sdk/gcloud/reference/logging).
This parameter should only have the binary that can be validated (e.g., gcloud). The rest of the command is formed with the additional parameters
and the message being logged as follows:
- log_cmd + log_params + "The message being logged" + log_end_params
Using the gcloud command for Stackdriver logging, the parameters would be:
- log_cmd = gcloud
- log_params = logging write GCPILB
- "This is a message being sent by the app"
- log_end_params = (nothing in this case, this is reserved for use with other tools)
Which would result in this valid command (where GCPILB is the name of the log):
gcloud logging write GCPILB "This is a message being sent by the app"
NOTE: Only the binary is validated for existence and no further checks are performed. The assumption is that only administrators with root access can configure this tool.