Skip to main content

OVH library bundle to send logs on Log Data Platform (LDP)

Project description

Latest Version Latest version Documentation Status

A python logging bundle to send logs using GELF on the OVH Logs Data Platform.


First, install logging-ldp using pip:

pip install -U logging-ldp

The following example shows how to send log in Graylog TCP input

import logging
from logging_ldp.formatters import LDPGELFFormatter
from logging_ldp.handlers import LDPGELFTCPSocketHandler

logger = logging.getLogger("ldp")

handler = LDPGELFTCPSocketHandler(hostname="")
logger.debug("hello !")


  • Python >= 3.3

Project details

Download files

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

Files for logging-ldp, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size logging-ldp-0.0.6.tar.gz (7.0 kB) File type Source Python version None Upload date Hashes View

Supported by

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