asyncio-compatible logstash logging handler.
Project description
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
Release history Release notifications | RSS feed
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.0a1.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for aiologstash-1.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b77e9adb08ca6b60ef78a1a16792698588e9fb7cc2142041ce2a42495f6aa029 |
|
MD5 | e21948d26fd3ba52923f8dbef8b4e5cc |
|
BLAKE2b-256 | f6480fea27c8801e1b6ee96b8db58b2a00714957df965becfd21bfc2ecdf096c |