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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file aiologstash2-2.0.1.tar.gz.

File metadata

  • Download URL: aiologstash2-2.0.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.9 Linux/5.11.0-1022-azure

File hashes

Hashes for aiologstash2-2.0.1.tar.gz
Algorithm Hash digest
SHA256 717f01061d5426044ccf1cf073d5fc6bb5d8917750f7fdc006a814f70649b70b
MD5 ec0aaec53f0f03d155bc1a3d8fa945d8
BLAKE2b-256 7de577d77a04c2835eb8f1b822bd9264b0b2a34c5995fa158df59fdbe78978f2

See more details on using hashes here.

File details

Details for the file aiologstash2-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: aiologstash2-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.9 Linux/5.11.0-1022-azure

File hashes

Hashes for aiologstash2-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a0177c36b4ba31e6f670c0a94fa753513fb8d31f3b3a315011e742864e33b356
MD5 b194cbe80fc1b557c9a3ba48adb79bba
BLAKE2b-256 35c67bfd07624a76b28bb5f26c75cfa3e1e096b2d4ea4294fde50bc1c23fe638

See more details on using hashes here.

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