logtail / logback-logtail

Better Stack Java Logback appender
https://betterstack.com/logs
MIT License
17 stars 4 forks source link

L-849 Limit max number of retries for sending logs #19

Closed PetrHeinz closed 8 months ago

PetrHeinz commented 8 months ago

Adds 2 new options: maxRetries and retrySleepMilliseconds

Previously, logger would be stuck sending the same batch over and over if - for some reason - it couldn't be accepted by Better Stack. Now, it will retry a few times and then drop the batch.