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.0.tar.gz
(8.2 kB
view hashes)
Built Distribution
Close
Hashes for aiologstash-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 949ceec9e369351f69ece33b22ba608e44616553f1b74cd5ba1368cb7b3a6bfc |
|
MD5 | e045d1fd0f77a84c8774c1d7d791250b |
|
BLAKE2b-256 | 29b397cefa7747bdd0c0ebc9027abee0eedbce82119b37b47c2f65a034b08e6f |