Skip to content
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

Show error output when info is disabled #5251

Merged
merged 1 commit into from
Feb 10, 2024
Merged

Show error output when info is disabled #5251

merged 1 commit into from
Feb 10, 2024

Conversation

ferrarimarco
Copy link
Collaborator

@ferrarimarco ferrarimarco commented Feb 9, 2024

Proposed changes

In case of linting errors, print stdout and stderr (if present) at the ERROR level if users set LOG_LEVEL to NOTICE to avoid failures without any explanation.

Close #5218

Worth waiting for #5249 before merging this one, so we can benefit from the test script enhancements implemented in that PR.

Readiness checklist

In order to have this pull request merged, complete the following tasks.

Pull request author tasks

  • I included all the needed documentation for this change.
  • I provided the necessary tests.
  • I squashed all the commits into a single commit.
  • I followed the Conventional Commit v1.0.0 spec.
  • I wrote the necessary upgrade instructions in the upgrade guide.
  • If this pull request is about and existing issue,
    I added the Fix #ISSUE_NUMBER label to the description of the pull request.

Super-linter maintainer tasks

  • Label as breaking if this change breaks compatibility with the previous released version.
  • Label as either: automation, bug, documentation, enhancement, infrastructure.

@ferrarimarco ferrarimarco added enhancement New feature or request O: backlog 🤖 Backlog, stale ignores this label labels Feb 9, 2024
@ferrarimarco ferrarimarco self-assigned this Feb 9, 2024
@ferrarimarco ferrarimarco marked this pull request as draft February 9, 2024 15:02
@ferrarimarco ferrarimarco marked this pull request as ready for review February 9, 2024 19:06
Hanse00
Hanse00 previously approved these changes Feb 10, 2024
In case of linting errors, print stdout and stderr (if present)
at the ERROR level if users set LOG_LEVEL to NOTICE to avoid
failures without any explanation.
@ferrarimarco ferrarimarco merged commit 091eaa7 into main Feb 10, 2024
9 checks passed
@ferrarimarco ferrarimarco deleted the error-output branch February 10, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request O: backlog 🤖 Backlog, stale ignores this label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linter output no longer shows up under WARN or INFO log levels
2 participants