unbounce / iidy

iidy (Is it done yet?) -- CloudFormation with Confidence
MIT License
52 stars 7 forks source link

Debug logs not written to stderr #258

Closed rymndhng closed 3 years ago

rymndhng commented 4 years ago

stderr is the most common choice for unix-style pipes and filter scripts. Is there a reason why any of the log levels should be written to stdout?

See https://github.com/unbounce/iidy/pull/188

Expected

Passing in --debug prints debug output to stderr.

Actual

Output of --debug written to stdout.

Impact

This breaks downstream scripts that rely on the output of the iidy command when debugging.