pytest-dev / pytest-dev/pytest
allow logger specific level configuration for the logfile option
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 14.5k
- Forks
- 3.4k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 35
Description
while configuring log file level to debug,
it seems that some libraries generate massive amounts of logging data thats not necessarily helping the intent but bloats the logfile
in turn making both debugging harder and storage more expensive
it would be a great help to have a way to pass in a logging configuration where different loggers get different levels
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing pytest's logfile option and the existing logging configuration behavior. Define how callers would provide different levels for different loggers, then verify that the resulting logfile filters noisy libraries while retaining the requested debug output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100