newrelic / centurion

A mass deployment tool for Docker fleets
MIT License
1.76k stars 113 forks source link

Centurion Logging Environment Variable to Stdout #162

Closed yonatan-schultz closed 8 years ago

yonatan-schultz commented 8 years ago

Centurion is logging its environment variables to stdout which causes problems when integrating with tools like Jenkins since these logs are kept for a specific period and often contain secrets.

relistan commented 8 years ago

If your secrets are in environment variables, they are also available to anyone who has access to the Docker daemon. If you are only concerned about seeing them in Jenkins, then I'd recommend running the output through a grep -v filter for specific environment variables. Logging the environment variables is really useful for debugging failed deploys, so turning them off entirely is not really in your best interest.