Skip to main content

Python logging formatter and handlers for Graylog Extended Log Format (GELF)

Project description

Python logging formatter and handlers for Graylog Extended Log Format (GELF)

Simple usage

import logging
from gray_elf import GelfTcpHandler

logging.root.addHandler(
    GelfTcpHandler(host=GRAYLOG_HOST, port=GRAYLOG_PORT)
)

Change log

See CHANGELOG.

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

gray-elf-0.2.0.tar.gz (5.5 kB view hashes)

Uploaded source

Built Distribution

gray_elf-0.2.0-py3-none-any.whl (3.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page