Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logging and expose debug output settings in plugin configuration #50

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

PamelaM
Copy link
Collaborator

@PamelaM PamelaM commented Nov 27, 2017

Many of the issues that have been created are configuration and environment related, so they have been difficult to debug and identify.

This PR exposes the 2 existing debugging flags SHOW_TRACING and SHOW_PARSING to the config file options (as per coverage.py documentation). It also adds 2 more: SHOW_STARTUP and LOG_FILE.

SHOW_STARTUP enables extra logging in code that's called during startup, as well as logging the python and django versions.

LOG_FILE (called log_file_path in the config option) is an optional argument allowing the user to capture all django_coverage_plugin logging to one file, which can be included or requested when tracking down issues.

@PamelaM PamelaM changed the title Add logging and new config stuff Add logging and expose debug output settings in plugin configuration Nov 29, 2017
@PamelaM PamelaM requested a review from nedbat November 29, 2017 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant