pytest-logging
Configures logging and allows tweaking the log level with a py.test flag
What it is and what it does
pytest-logging is a pytest plugin that integrates Python's logging module with pytest's test output. It configures logging to write messages directly to the console and ties log verbosity to pytest's `-v` flag, so running `pytest -v` increases the logging level shown during test execution.
The plugin was released on 2015-11-04 and has been abandoned since then. The repository is archived and no updates have been made. Installing it on a current pytest version is uncertain without verification of compatibility.
Use it for:
- Legacy test suites written for pytest circa 2015 that depend on this specific plugin's behavior.
- Debugging old projects where logging output was previously controlled via this plugin's `-v` integration.
- Educational reference for how pytest plugins were structured in the early plugin ecosystem.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A pytest plugin that configures Python logging to output to the console and allows adjusting log verbosity via pytest's `-v` flag.
No. This package is abandoned (last release 2015-11-04, repository archived, no updates in years) and compatibility with modern pytest is unverified. Do not install unless maintaining a legacy codebase explicitly pinned to this plugin.
Install
pytest-logging on PyPI
pip
pip install pytest-logginguv
uv add pytest-loggingpoetry
poetry add pytest-loggingInstalling pytest-logging
Before you install
High install friction: the package has been abandoned since 2015-12-11 with no updates in many years. The repository is archived.
License in practice
Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.
Quickstart
pip install pytest-logging
# Then run pytest with verbosity flags
pytest -v test_file.py
This package is abandoned and may be incompatible with modern pytest versions.
Verify before relying
- Compatibility with pytest versions released after 2015-11-04; whether the plugin works with current pytest.
- Whether the plugin actually works with Python 3.3, 3.4, 3.5 or modern PyPy releases as classifiers claim.
- Whether modern pytest's native logging configuration makes this plugin redundant or non-functional.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | abandoned — 3,936 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 181,547/month — #10,122 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pytest-logging-2015.11.4.tar.gz
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
pytest-cookiesA pytest plugin that provides a `cookies`…
permissive · top 15,000 on PyPI
pytest-cythonA pytest plugin that runs doctests embedded in…
unclear · top 15,000 on PyPI
pytest-monitorA pytest plugin that automatically measures and…
permissive · top 15,000 on PyPI
pytest-subtestsAdds subTest() support to pytest, allowing…
permissive · top 5,000 on PyPI
pytest-threadleakA pytest plugin that detects when tests leak…
permissive · top 15,000 on PyPI
pytest-xmlA pytest plugin that generates XML output from…
unclear · top 15,000 on PyPI
pytest-find-dependenciesA pytest plugin that identifies dependencies…
permissive · top 5,000 on PyPI
pytest-jsonA pytest plugin that generates JSON reports of…
permissive · top 15,000 on PyPI
pytest-richA pytest plugin that uses rich to format and…
permissive · top 15,000 on PyPI
pytest-custom-exit-codeA pytest plugin that lets you customize the…
permissive · top 5,000 on PyPI