Welcome to 2018, and to a release of RateLimitedLogger 2.0!
RateLimitedLogger is an Apache-licensed, SLF4J-compatible, simple, fluent API for rate-limited logging in Java. A RateLimitedLog object tracks the rate of log message emission, imposes an internal rate limit, and will efficiently suppress logging if this is exceeded. When a log is suppressed, at the end of the limit period, another log message is output indicating how many log lines were suppressed.
We’ve been using this logger for all Swrve’s high-performance Java services for nearly 3 years now, and it’s become an invaluable part of our toolkit.
Thanks to Fabien Comte, this release removes all dependencies on Joda-Time and Guava, and is focussed on Java 8. If you need Java 6/7 support, please use version 1.1.0 of the RateLimitedLogger.
Check the readme for more information