Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Python logging handlers for sending logs to graylog.

Project Description


Python logging handlers for sending logs to graylog.

Installation / Usage

To install use pip:

$ pip install graypython

Or clone the repo:

$ git clone
$ python install


Pull requests and discussions are welcomed. Changes that make sense are merged.


### DictConfig Example:
import socket

'handlers': {

'graylog': {
'class': 'graypython.GraylogHTTPGelfHandler',
'url': '',
'host': socket.gethostbyname(socket.getfqdn())

### Script Example:

import logging
import socket
from graypython import GraylogHTTPGelfHandler

handler = GraylogHTTPGelfHandler(
Release History

Release History

This version
History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
graypython-0.1.0.tar.gz (1.9 kB) Copy SHA256 Checksum SHA256 Source Feb 13, 2017

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting