Skip to content

All log levels should go to stderr #2

Description

@OJFord

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions