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-2.0.0.tar.gz
(9.2 kB
view details)
Built Distribution
File details
Details for the file aiologstash-2.0.0.tar.gz
.
File metadata
- Download URL: aiologstash-2.0.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.22.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 698522126ffd4e905cd5f52a08092a0a78096c8f0e28bc1e303369873da71f78 |
|
MD5 | 1e321c11b34477f780f31b2553557d69 |
|
BLAKE2b-256 | 1cdc382861d5d25ccc976d02118922598fc4547f74f3287793e270ed614d8176 |
File details
Details for the file aiologstash-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: aiologstash-2.0.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.22.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59c8bc1c37d73246847f370ca84d044a2f7d13f8030b82d2702b086d2cd2c651 |
|
MD5 | ec43770c41e94a4738ac8f1e331d71d5 |
|
BLAKE2b-256 | ca15a2685ed537628842d88553edbcc2d76d16dc74e722a32bc52c81e892879d |