Skip to content

Should logging also use OutOrStdout ErrOrStderr #1431

Closed

Description

@TerryHowe
          It just came to me: If user resets command output (via [SetErr](https://pkg.go.dev/github.com/spf13/[email protected]#Command.SetErr.)) should we also set the [err output stream for logging](https://github.com/oras-project/oras/blob/main/internal/trace/context.go#L40)?

Originally posted by @qweeah in #1427 (comment)

Activity

  1. added
    enhancement
    on Jun 28, 2024
  2. added this to the future milestone on Jun 28, 2024
  3. vigneshakaviki commented on Aug 1, 2026

    @vigneshakaviki
    Contributor

    I’d like to work on this.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions