Closed rymndhng closed 3 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
Passing in --debug prints debug output to stderr.
--debug
Output of --debug written to stdout.
This breaks downstream scripts that rely on the output of the iidy command when debugging.
iidy
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.