Skip to content

Add disable-command-output-logging hook property#761

Open
arjunxplorer wants to merge 1 commit into
adnanh:masterfrom
arjunxplorer:disable-command-output-logging
Open

Add disable-command-output-logging hook property#761
arjunxplorer wants to merge 1 commit into
adnanh:masterfrom
arjunxplorer:disable-command-output-logging

Conversation

@arjunxplorer

Copy link
Copy Markdown

Summary

  • Adds per-hook disable-command-output-logging boolean property
  • When true, suppresses command output: log line on successful executions
  • Errors are still logged (backward compatible default: false)

Fixes #680

Test plan

  • go test -run TestDisableCommandOutputLogging -v
  • go test ./...

Fixes adnanh#680. Adds a per-hook boolean to skip logging command output on
successful executions while still logging on errors. Defaults to false
for backward compatibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add hook property to control command output logging

1 participant