Skip to main content

Log handler that ships in gelf format

Project description

gelfHandler is a basic logging handler for sending to a graylog2 instance via UDP or TCP

Basic usage

Usage is pretty much like any handler:

from gelfHandler import GelfHandler
gHandler = GelfHandler(

Support for additional fields is available if you send a dict using the extra keyword that begins with gelfProps:

logger.warn('DANGER DANGER',extra={'gelf_props':{'name':'W. Robinsson', 'planet':'unknown'}})

More info can be found on the github page.

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

gelfHandler-1.0.0.tar.gz (2.6 kB view hashes)

Uploaded source

Supported by

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