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.
Release files for aiologstash2 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiologstash2-2.0.1.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiologstash2-2.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.2 kB
Release files / aiologstash2-2.0.1.tar.gz
| Download URL | aiologstash2-2.0.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
717f01061d5426044ccf1cf073d5fc6bb5d8917750f7fdc006a814f70649b70b
|
|
BLAKE2b-256 checksum How to use checksums |
7de577d77a04c2835eb8f1b822bd9264b0b2a34c5995fa158df59fdbe78978f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.9.9 Linux/5.11.0-1022-azure
|
Release files / aiologstash2-2.0.1-py3-none-any.whl
| Download URL | aiologstash2-2.0.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a0177c36b4ba31e6f670c0a94fa753513fb8d31f3b3a315011e742864e33b356
|
|
BLAKE2b-256 checksum How to use checksums |
35c67bfd07624a76b28bb5f26c75cfa3e1e096b2d4ea4294fde50bc1c23fe638
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.9.9 Linux/5.11.0-1022-azure
|