lyft / metadataproxy

A proxy for AWS's metadata service that gives out scoped IAM credentials from STS
Other
456 stars 69 forks source link

Setup where logging output goes to from flask #52

Closed carolinebeauchamp closed 4 years ago

carolinebeauchamp commented 7 years ago

I wasn't getting any logging output, apart from gunicorn, so added this in to actually output log messages to stdout.

From issue #51

ryan-lane commented 7 years ago

Sorry for the wait. I've been on vacation. Taking a look :)

ryan-lane commented 7 years ago

Are you using gunicorn to launch this? Gunicorn itself has a setting to enable debug mode, which is handled in run-server.sh: https://github.com/lyft/metadataproxy/blob/master/run-server.sh

ryan-lane commented 7 years ago

Ah. We need to set a logging handler for stdout. Maybe I should include a gunicorn logging config with mdp, that sets all these things more sanely.

ryan-lane commented 4 years ago

Handled by #91