When using --print-settings
, error message should go to STDERR, not STDOUT
#3342
Labels
--print-settings
, error message should go to STDERR, not STDOUT
#3342
Issue
When attempting to automate the setup of Pelican using bash, the STDOUT output of the command
pelican --print-settings VAR
gets cluttered with non-related info.Confirmed that these WARNING outputs are using fd=1 (STDOUT) using
strace -s132 -f pelican --print-settings PATH
.Ideally, these WARNINGS (and INFO and whatnots) should be outputted to UNIX STDERR so that we can better handle error scenario in GitHub Actions or other CIs as well.
The text was updated successfully, but these errors were encountered: