Skip to main content

No project description provided

Project description

aiologstash2

image

image

image

asyncio logging handler for logstash.

Installation

pip install aiologstash2

Usage

import logging
from aiologstash2 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

This is an actively maintained fork of aio-libs' aiologstash

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.

Source Distribution

aiologstash2-2.0.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

aiologstash2-2.0.1-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

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