Skip to content

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

Merged
jglogan merged 2 commits into
apple:mainfrom
jglogan:commands-stderr
Jun 3, 2026
Merged

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

Conversation

@jglogan

@jglogan jglogan commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

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

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown

Code Coverage

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

@jglogan jglogan merged commit 89fa98c into apple:main Jun 3, 2026
3 checks passed
@jglogan jglogan deleted the commands-stderr branch June 3, 2026 23:18
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