fluent-logger-python
fluent-logger-python copied to clipboard
A structured logger for Fluentd (Python)
``` 1. from functools import lru_cache 2. import fluent.handler 3. import logging 4. import logging.config 5. import sys 6. from concurrent.futures import ThreadPoolExecutor 7. 8. logging.basicConfig(level=logging.INFO) 9. 10. fluentd_format =...
As the title suggests, I'd like to know if this library can also be used with fluent-bit.
While trying to truncate the message part using formatter. `fluent.handler.FluentRecordFormatter` works normally with all fields except `message` configuration ``` LOGGING = { 'version': 1, 'disable_existing_loggers': True, 'formatters': { 'verbose': {...
There is **ValueError** is reraised instead of KeyError in the format method of each style class since python3.8: https://github.com/python/cpython/issues/79025#issuecomment-1093800953 So formatting error handling and **fill_missing_fmt_key=True** arg of FluentRecordFormatter does not...
Fixes: #137 Currently the library does not support Ipv6 as host adress. To make it compatible with Ipv6 I added a function that check if host is Ipv6 and if...
if there is some error in `FluentSender._make_packet` - it's forwarded to fluent host instead of adding possibility to get local exception before forward. Added option for this `forward_packet_error` - which...
I want some messages to be generated with different tags, but for now i'm *forced* to use same root (prefix) tag for no reason per sender instance. If I use...
Hi, I'm using fluent-logger with a fluentd instance on a remote host and would like to secure the data transfer using TLS. On the fluentd side, I follow the instructions...
Hello, I saw a surprising memory usage growth (see this [issue](https://github.com/eventlet/eventlet/issues/741)). But when I remove `monkey_patch` looks like memory usage back to normal. Does fluent-logger-python compatible with eventlet?
:eyes: Some source code analysis tools can help to find opportunities for improving software components. :thought_balloon: I propose to [increase the usage of augmented assignment statements](https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements "Augmented assignment statements") accordingly....