Skip to content

Make --debug output a bit quieter by default #20311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 25, 2025
Merged

Conversation

MikeMcQuaid
Copy link
Member

The Formulary and system_command debug output is incredibly verbose by default and this is pretty annoying when all you want is to get better backtraces when there's an error.

Instead, let's require --verbose and --debug for the noisiest output message types.

Copy link
Member

@p-linnane p-linnane left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks!

The `Formulary` and `system_command` debug output is incredibly verbose
by default and this is pretty annoying when all you want is to get
better backtraces when there's an error.

Instead, let's require `--verbose` and `--debug` for the noisiest output
message types.
@MikeMcQuaid
Copy link
Member Author

Also fixed a wee bug here where verbose? context wasn't being properly propagated to system_commands.

@MikeMcQuaid MikeMcQuaid enabled auto-merge July 25, 2025 16:23
@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Jul 25, 2025
Merged via the queue into main with commit 0c969c2 Jul 25, 2025
36 checks passed
@MikeMcQuaid MikeMcQuaid deleted the quieter_debug branch July 25, 2025 16:44
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.

2 participants