eht16 / python-logstash-async

Python logging handler for sending log events asynchronously to Logstash.
MIT License
182 stars 52 forks source link

Add connection error reporting to BeatsTransport class send() #56

Closed wmacomber closed 3 years ago

wmacomber commented 3 years ago

In reference to https://github.com/eht16/python-logstash-async/issues/55

Adds exception handler to send() function within BeatsTransport class. Catches getaddrinfo and ConnectionErrors and simply displays the error in one line.