Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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

Project Description

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

This Pytest plugin was generated with Cookiecutter along with @hackebrot’s Cookiecutter-pytest-plugin template.


  • Configures python’s logging to output log messages to the console(You need to tell PyTest not to capture output).
  • Increases the logging verbosity by lowering the log level by passing -v to PyTest


  • None!


You can install “pytest-logging” via pip from PyPI:

$ pip install pytest-logging


  • Simply pass one or more -v flag(s) to PyTest to increase logging verbosity


Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.


Distributed under the terms of the Apache 2.0 license, “pytest-logging” is free and open source software


If you encounter any problems, please file an issue along with a detailed description.

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(3.9 kB) Copy SHA256 Hash SHA256
Source None Nov 4, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate