Skip to content

Write log/error output from commands to stderr.#1632

Open
jglogan wants to merge 2 commits into
apple:mainfrom
jglogan:commands-stderr
Open

Write log/error output from commands to stderr.#1632
jglogan wants to merge 2 commits into
apple:mainfrom
jglogan:commands-stderr

Conversation

@jglogan
Copy link
Copy Markdown
Contributor

@jglogan jglogan commented Jun 3, 2026

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Logging/errors from commands list container system start should use the logger so that the messages go to stderr.

stdout should only receive output data (typically the affected resource ids)

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

@jglogan jglogan self-assigned this Jun 3, 2026
@github-actions github-actions Bot added the cli label Jun 3, 2026
@jglogan jglogan force-pushed the commands-stderr branch from 6bbb258 to 94dffca Compare June 3, 2026 15:33
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 3, 2026

Code Coverage

Tier Line Coverage
Unit 34.64%
Integration 19.76%
Combined 53.78%

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Multiple commands output error information on stdout.

3 participants