asyncio logging handler for logstash.
pip install aiologstash
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)
The library was donated by Ocean S.A.
Thanks to the company for contribution.