aiologstash2
asyncio logging handler for logstash.
Installation
pip install aiologstash2
Usage
import logging
from aiologstash2 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
This is an actively maintained fork of aio-libs' aiologstash
The library was donated by Ocean S.A.
Thanks to the company for contribution.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiologstash2-2.0.1.tar.gz
(4.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aiologstash2-2.0.1.tar.gz.
File metadata
- Download URL: aiologstash2-2.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.9.9 Linux/5.11.0-1022-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
717f01061d5426044ccf1cf073d5fc6bb5d8917750f7fdc006a814f70649b70b
|
|
| MD5 |
ec0aaec53f0f03d155bc1a3d8fa945d8
|
|
| BLAKE2b-256 |
7de577d77a04c2835eb8f1b822bd9264b0b2a34c5995fa158df59fdbe78978f2
|
File details
Details for the file aiologstash2-2.0.1-py3-none-any.whl.
File metadata
- Download URL: aiologstash2-2.0.1-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.9.9 Linux/5.11.0-1022-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0177c36b4ba31e6f670c0a94fa753513fb8d31f3b3a315011e742864e33b356
|
|
| MD5 |
b194cbe80fc1b557c9a3ba48adb79bba
|
|
| BLAKE2b-256 |
35c67bfd07624a76b28bb5f26c75cfa3e1e096b2d4ea4294fde50bc1c23fe638
|