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!

Allow for multiple processes to log to a single file

Project Description

Allow for multiple processes to log to a single file

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


  • Allows all workers created by xdist to log to the same configuration


  • Pytest
  • gevent 1.1+
  • xdist


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

$ pip install pytest-single_file_logging


A pytest fixture logger is provided by this plugin. Using the fixture is easy:

def test_warning_log(logger):
logger.warning('this is your last warning!')

The standard library logging library is used with the logging configuration pulled from the –logconfig option. The supported format for the configuration file is json and dictconfig. Documentation of dictconfig is located here


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 Software License 2.0 license, “pytest-single_file_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


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
(7.1 kB) Copy SHA256 Hash SHA256
Wheel py3 May 5, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting