bashlog
bashlog copied to clipboard
All log levels should go to stderr
All logs should be output (when BASHLOG_FILE=0 of course) to stderr, so that stdout is reserved for meaningful program output, for easy pipelines etc.
Currently, only the 'error' level log (and lower, more critical) are on stderr.
A real example of this causing problems is in tfutils/tfenv#310.