Skip to main content

asyncio-compatible logstash logging handler.

Project description

https://travis-ci.org/aio-libs/aiologstash.svg?branch=master https://codecov.io/gh/aio-libs/aiologstash/branch/master/graph/badge.svg https://badge.fury.io/py/aiologstash.svg

asyncio logging handler for logstash.

Installation

pip install aiologstash

Usage

import logging
from aiologstash import create_tcp_handler

async def init_logger():
     handler = await create_tcp_handler('127.0.0.1', 5000)
     root = logging.getLogger()
     root.setLevel(logging.DEBUG)
     root.addHandler(handler)

Thanks

The library was donated by Ocean S.A.

Thanks to the company for contribution.

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 aiologstash, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size aiologstash-2.0.0-py3-none-any.whl (11.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size aiologstash-2.0.0.tar.gz (9.2 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 Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page