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.

Source Distribution

aiologstash-1.1.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiologstash-1.1.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file aiologstash-1.1.0.tar.gz.

File metadata

  • Download URL: aiologstash-1.1.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for aiologstash-1.1.0.tar.gz
Algorithm Hash digest
SHA256 2e359f20431e2b39fcd2517a09980fcd6db71cd28191472c3bd66aab791f98a2
MD5 8379b43153d77fa162fff40853b27304
BLAKE2b-256 e1b9a932cc6228be78986aa5f493078ee4c0b90b1e86c2319a11222cc1284cfc

See more details on using hashes here.

File details

Details for the file aiologstash-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aiologstash-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 949ceec9e369351f69ece33b22ba608e44616553f1b74cd5ba1368cb7b3a6bfc
MD5 e045d1fd0f77a84c8774c1d7d791250b
BLAKE2b-256 29b397cefa7747bdd0c0ebc9027abee0eedbce82119b37b47c2f65a034b08e6f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page