Skip to content

[3007.x] print minion output, mirror salt-ssh log level - #66952

Closed
dead10ck wants to merge 2 commits into
saltstack:3008.xfrom
dead10ck:ssh/logging
Closed

dead10ck wants to merge 2 commits into
saltstack:3008.xfrom
dead10ck:ssh/logging

Conversation

@dead10ck

@dead10ck dead10ck commented Oct 9, 2024

Copy link
Copy Markdown
Contributor

What does this PR do?

What issues does this PR fix or reference?

Fixes #66951

New Behavior

Minion logs are logged to stderr. Log level matches that of salt-ssh.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

No

@dead10ck
dead10ck requested a review from a team as a code owner October 9, 2024 00:27
@salt-project-bot-prod-environment salt-project-bot-prod-environment Bot changed the title print minion output, mirror salt-ssh log level [3007.x] print minion output, mirror salt-ssh log level Oct 9, 2024
@dead10ck
dead10ck force-pushed the ssh/logging branch 2 times, most recently from 559901c to d61cfc2 Compare October 9, 2024 02:09

@twangboy twangboy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we get a test, please?

dead10ck and others added 2 commits June 26, 2026 04:48
- test_cmd_str_includes_log_level: verifies OPTIONS.log_level in the
  base64-encoded shim payload matches the master log_level
- test_cmd_str_log_level_defaults_to_info: verifies default when unset
- test_shim_cmd_passes_print_output_to_exec_cmd: propagation through
  Single.shim_cmd -> Shell.exec_cmd
- test_cmd_block_passes_print_output_to_shim_cmd: propagation through
  Single.cmd_block -> shim_cmd
- test_run_cmd_print_output_streams_stdout_stderr: Shell._run_cmd with
  print_output=True writes to sys.stdout/stderr
- test_exec_cmd_passes_print_output_to_run_cmd: Shell.exec_cmd passes
  the flag through to _run_cmd
twangboy
twangboy previously approved these changes Jul 8, 2026
@twangboy

twangboy commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Please fix the failing tests and address the merge conflicts.

@twangboy

twangboy commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

We are no longer accepting bug fixes on the 3007.x branch. Please rebase against the 3008.x branch.

@dwoz
dwoz changed the base branch from 3007.x to 3008.x October 22, 2026 00:45
@dwoz
dwoz dismissed twangboy’s stale review October 22, 2026 00:45

The base branch was changed.

@dwoz

dwoz commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

@dead10ck 3007.x is out of support. Please rebase these changes on 3008.x

@dwoz

dwoz commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

@dead10ck If you want to get this in please re-open it.

This branch was previously deployed

1 inactive deployment
ci — 909f79a5 Deployed Jun 26, 2026 by dwoz via Build Onedir Packages / macOS (x86_64) #24768
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] salt-ssh does not log minion output

4 participants