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.0.0.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for aiologstash-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89d1eaabb38f2c0acee7d28690f29df4a46ef8a04fd1d834ec5fe3c309a7b006 |
|
MD5 | 8f1edb6b15c2444c6cf627a3cb90a053 |
|
BLAKE2b-256 | c8523e469206f6f4a186836bd61f6b5b0450ddc64d75d22deffde9ec3e9d74b7 |