Registry / logging / logback-throttling-appender

logback-throttling-appender

JSON →
library1.5.3javamavenunverified

A Logback appender wrapper that throttles log output to prevent excessive logging, useful for rate-limiting.

<dependency> <groupId>io.dropwizard.logback</groupId> <artifactId>logback-throttling-appender</artifactId> <version>1.5.3</version> </dependency>
INSTALL
IMPORT
SIG · LOGBACK-THROTTLING
L
logback-throttling-appender
loggingjavav1.5.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ThrottlingAppender
io.dropwizard.logback.throttling.ThrottlingAppender

Creates and starts a throttling appender for Logback.

import io.dropwizard.logback.throttling.ThrottlingAppender; import ch.qos.logback.classic.Logger; import ch.qos.logback.classic.LoggerContext; import org.slf4j.LoggerFactory; public class Example { public static void main(String[] args) { LoggerContext context = (LoggerContext) LoggerFactory.getILoggerFactory(); ThrottlingAppender appender = new ThrottlingAppender(); appender.setContext(context); appender.start(); System.out.println("Throttling appender started."); } }
Debug
Known issues
gotchaThrottling may drop log events; ensure critical logs are not suppressed.
fix
Configure appropriate rate limits and consider using a separate appender for critical logs.
affects: >=1.0.0
Upgrade
Version history
1.5.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
logback-throttling-appender — mvn dependency:get logback-throttling-appender · libregistry