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

feat: lake: CLI options to control output & failure log levels #4847

Merged
merged 2 commits into from
Jul 27, 2024

Conversation

tydeu
Copy link
Member

@tydeu tydeu commented Jul 26, 2024

Adds the --log-level=<lv> CLI option for controlling the minimum log level Lake should output. For instance, --log-level=error will only print errors (not warnings or info).

Also, adds the parallel --fail-level CLI option to control what the minimum log level of build failures is. The existing --iofail and --wfail options are equivalent to --fail-level=info and --fail-level=warning , respectively.

Closes #4805,

@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Jul 26, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Jul 26, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Jul 26, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Jul 26, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Jul 26, 2024
@leanprover-community-mathlib4-bot
Copy link
Collaborator

leanprover-community-mathlib4-bot commented Jul 26, 2024

Mathlib CI status (docs):

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Jul 27, 2024
@tydeu tydeu marked this pull request as ready for review July 27, 2024 03:20
@tydeu tydeu added will-merge-soon …unless someone speaks up release-ci Enable all CI checks for a PR, like is done for releases labels Jul 27, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Jul 27, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Jul 27, 2024
@tydeu tydeu added this pull request to the merge queue Jul 27, 2024
Merged via the queue into leanprover:master with commit fe5894f Jul 27, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builds-mathlib CI has verified that Mathlib builds against this PR release-ci Enable all CI checks for a PR, like is done for releases toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN will-merge-soon …unless someone speaks up
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lake option to suppress all warnings
2 participants