newrelic / centurion

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

Reduce logging level for secrets #190

Closed MidnightsFX closed 5 years ago

MidnightsFX commented 5 years ago

Deployments will no longer show container configurations unless you set a lower logging level. This should hide secrets which are passed to containers at startup.

You can continue to view secrets for production deploys by turning up your log level.

aughr commented 5 years ago

Seems reasonable to me, would like @intjonathan to chime in as well.

intjonathan commented 5 years ago

I'd like to still print a subset at INFO, at least container ID, so at that level you can see:

Creating new container for quay.io/ubuntu/ubuntu
Starting new container 20abc302
Started 20abc302 successfully

Then at DEBUG you'd see the inspect line below that.