graypy
graypy copied to clipboard
Python logging handler for Graylog that sends messages in GELF (Graylog Extended Log Format).
When use python3.9.13 I ran into the following error: ```AttributeError: module 'graypy' has no attribute 'GELFRabbitHandler``` Conditions: graypy==2.1.0 amqplib==1.0.2
As amqplib is quite old (https://pypi.org/project/amqplib/#history) and I had some issues with reconnecting, I propose to update it to [amqp](https://pypi.org/project/amqp/), which has the same interface, but is maintained and widely...
Hello, Is there a way to check if connection is established succesfully with the graylog server? I could not see any. Currently i give random ports to constructor and not...
I ran into performance issues in prod because I'm using GELFUDPHandler with a host that requires a DNS lookup (our graylog server is available at something like `monitoring.prod.example.com`). This resulted...
I am using logger with three handlers: - console - graypy - reportportal Reportportal handler is able to log images. So I would like to log them and I am...
Resolves https://github.com/severb/graypy/issues/131 Fixes issue where installing graypy would also copy the project's `tests` directory to the Python environment's site-packages.
Since June 15th, 2021, the building on [travis-ci.org](http://www.travis-ci.org/) is ceased. Please use [travis-ci.com](http://www.travis-ci.com/) from now on.
Resolves https://github.com/severb/graypy/issues/134 Adds some tests validating the behavior of `warnings.warn` with graypy.
https://github.com/severb/graypy/blob/a5a82c535002db6015473cb59a7476361060d358/graypy/handler.py#L467
Hey, is there a way to output the log to a file? I'm using a logstash sidecar in my pod that reads the file in gelf format