Skip to main content

Django log handler to create issue on github automatically

Project description

Create an issue group by error on github when django raises error

Installation

Add following settings dictionary in your settings.py (LABELS is optional)

GITHUB_LOG_SETTINGS = {
    'USER': 'REPOSITORY-OWNER',
    'REPO': 'REPOSITORY-NAME',
    'TOKEN': 'GITHUB-API-TOKEN',
    'LABELS': [
        'priority:normal',
        'type:error',
        ...
    ]
}

Add “github_log” in INSTALLED_APPS

Add logging handler in settings.Logging[‘handlers’]

'github': {
    'level': 'ERROR',
    'class': 'github_log.log.GitHubIssueHandler'
},

Finally, python manage.py syncdb

Project details


Download files

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

Source Distribution

django-github-log-0.1.2.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file django-github-log-0.1.2.tar.gz.

File metadata

File hashes

Hashes for django-github-log-0.1.2.tar.gz
Algorithm Hash digest
SHA256 566363e66534677608e889ba87ccb8f9e71555bd6b384e47efe5135b95662e00
MD5 7466c311d0169959b94069aa6bb1bba6
BLAKE2b-256 e6f0b22d1a0443e728752a44a80e02afa003d58461a7c5197fce2d3bc5fc0f55

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page