-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add option to set default log-level #38
Add option to set default log-level #38
Conversation
9a8c5fc
to
75a9aab
Compare
Thank you, and sorry this took that long for you to get feedback. |
@abusalimov you can always change log-level by using
but I don't mind to change name for that. |
Ah, I see. This is a subject to change (#24) though. Can we postpone this change a bit? I have some free time now, and I'm going to merge the stalled PRs to get them over with. |
No problem, take as much time you need (: ... I can rebase any time or I am also ok if you cover it in your change ... just let me know. Thanks |
Sure! I appreciate your understanding :) |
This would be very nice. However, it would also be nice to be able to set the default level inside a session-scoped pytest fixture. My flask app does a lot of logging in the setup that is hooked in session-wide fixtures, and I would love to be able to supress DEBUG output for that. |
I wonder how this obvious feature is still missing! |
I think this feature is covered by options |
Sorry guys for making these stale, but just don't have enough spare time to sort these out, neither do @eisensheng or @The-Compiler, I'm afraid. @lukas-bednar Can't tell for sure, it's better to check this in the source code. |
@lukas-bednar |
since it was merged to pytest core, it is not relevant. closing ... |
It could be useful when you want to reduce logs to be captured for whole pytest session.