Skip to main content

UNKNOWN

Project description

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

Basic usage

gHandler = gelfHandler(host=’mylogserver.example.com’,port=12202,proto=’UDP’) logger.addHandler(gHandler)

Support for additional fields is available if you send an arg as a dict:

logger.warn(‘DANGER DANGER’,{‘name’:’W. Robinsson’})

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-0.1.tar.gz (1.6 kB view hashes)

Uploaded Source

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