skillfed

pytest-logging

Configures logging and allows tweaking the log level with a py.test flag

pytest-logging v2015.11.4 181.5K downloads/30d#10,122 on PyPI21
Permissive license MIT Abandoned released

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-logging

uv

uv add pytest-logging

poetry

poetry add pytest-logging

Installing 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Testing

Tags

pytest logging pluginpytest console loggingpytest log level controlpytest verbosity loggingpytest output logging configuration
abandonedlegacy-plugin

More Testing packages

pluggy

Pluggy provides a plugin system that lets you…

permissive · top 100 on PyPI

pytest

pytest is a testing framework that lets you…

permissive · top 100 on PyPI

virtualenv

virtualenv creates isolated Python environments…

permissive · top 100 on PyPI

coverage

Coverage.py measures which lines of Python code…

permissive · top 1,000 on PyPI

pytest-asyncio

pytest-asyncio is a pytest plugin that enables…

permissive · top 1,000 on PyPI

pytest-json-ctrf

A pytest plugin that generates test reports in…

permissive · top 1,000 on PyPI

pytest-cookies

A pytest plugin that provides a `cookies`…

permissive · top 15,000 on PyPI

pytest-cython

A pytest plugin that runs doctests embedded in…

unclear · top 15,000 on PyPI

pytest-monitor

A pytest plugin that automatically measures and…

permissive · top 15,000 on PyPI

pytest-subtests

Adds subTest() support to pytest, allowing…

permissive · top 5,000 on PyPI

pytest-threadleak

A pytest plugin that detects when tests leak…

permissive · top 15,000 on PyPI

pytest-xml

A pytest plugin that generates XML output from…

unclear · top 15,000 on PyPI

pytest-find-dependencies

A pytest plugin that identifies dependencies…

permissive · top 5,000 on PyPI

pytest-json

A pytest plugin that generates JSON reports of…

permissive · top 15,000 on PyPI

pytest-rich

A pytest plugin that uses rich to format and…

permissive · top 15,000 on PyPI

pytest-custom-exit-code

A pytest plugin that lets you customize the…

permissive · top 5,000 on PyPI