Configure vault agent to log to stdout?

Hi, we’re running into a problem with the Vault Agent when using GCP Logs (Stackdriver) to collect logs from our GKE pods. GCP shows all logs (even DEBUG level) as an ERROR level log. Per this bug, it looks like this is because the agent sends all logs to stderr instead of stdout. The discussion in the bug also indicates that this may be configurable. Does anybody know if there’s a way to change this (rather odd) behavior so that the agent logs to stdout instead of stderr?

1 Like