Skip to content

Take care of pytest-catchlog issues/PRs #3003

Description

@The-Compiler

Someone™ should probably go through the open issues and pull requests in the pytest-catchlog repo, see what there still applies, and port that to this repo (or tell people to do so).

I'll close the obvious few issues there, but I currently don't have time for more. I do have push access to that repo though.

Activity

  1. changed the title [-]Take care of pytest-catchlog issues/PR[/-] [+]Take care of pytest-catchlog issues/PRs[/+] on Dec 5, 2017
  2. RonnyPfannschmidt commented on Jan 18, 2026

    @RonnyPfannschmidt
    Member

    Summary: Review of pytest-catchlog Issues/PRs

    After reviewing the open issues and PRs from the pytest-catchlog repository, here's the status of each item:

    Issues

    pytest-catchlog # Issue Status
    #60 caplog.set_level side effects persist to next test ✅ Fixed in pytest 6.0.1 (#7569, #7672). Log levels are now properly restored via _finalize().
    #59 Noisy logs from other plugins (e.g., flake8) ✅ Addressed via --log-disable=logger_name option, which allows disabling specific loggers.
    #44 Loggers with propagate=False not captured by caplog ❌ Still open - tracked as #3697 (22+ upvotes).
    #43 I/O operation on closed file with many threads 🔶 Related to #5743 (still open). handleError now raises on errors rather than silently failing.
    #41 I/O operation on closed file after monkeypatching handlers 🔶 Related to #5743.

    Pull Requests

    pytest-catchlog # PR Status
    #65 Add --print-logs option to override --no-print-logs 🔄 Evolved - pytest uses log_cli=true config option and --log-cli-level instead.

    Conclusion

    The remaining open items are already tracked in dedicated pytest issues:

    Closing this meta-issue as the review is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin: loggingrelated to the logging builtin plugintype: infrastructureimprovement to development/releases/CI structure

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions