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

Setting log level to CRITICAL still causes non critical message to be logged. #919

Open
bisrat-otterai opened this issue Sep 12, 2024 · 0 comments

Comments

@bisrat-otterai
Copy link

bisrat-otterai commented Sep 12, 2024

Pyre Bug: Unable to disable log generation

Bug description
I wish to silence all logging to the pyre.stderr file as I'm working in a repository where file modifications aren't possible. Since this does't seem to be an option I set the --log-level option to CRITICAL but successful runs still post the following message:
2024-09-12 03:34:30,643 [PID 1219] SUCCESS No type errors found

Reproduction steps
Run pyre --log-level=CRITICAL check

Expected behavior
If no errors that are set to the CRITICAL level are raised no messages should be posted to the stderr file.

Logs

pyre --log-level=CRITICAL check

Due to sensitive directories I am unable to post the output of pyre rage but I believe this is an easily reproducible issue. More generally I am curious if there are any combination of commands that can result in no file modifications while running pyre check.

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

No branches or pull requests

1 participant