public final class ExceptionRateLimiting extends Object
| Modifier and Type | Method and Description | 
|---|---|
static void | 
rateLimitLogging(org.apache.log4j.Appender appender,
                String exceptionClassName,
                Duration burstDuration,
                int burstMax)  | 
static void | 
rateLimitLoggingForAllAppenders(String exceptionClassName,
                               Duration burstDuration,
                               int burstMax)
Enable rate limiting on all registered  
Appenders for any log events that match the given exception type. | 
static void | 
registerAppender(org.apache.log4j.Appender appender)
Registers the given  
Appender for potential rate limiting. | 
public static void registerAppender(org.apache.log4j.Appender appender)
Appender for potential rate limiting.public static void rateLimitLoggingForAllAppenders(String exceptionClassName, Duration burstDuration, int burstMax)
Appenders for any log events that match the given exception type.Copyright © 2003–2022 Atlassian. All rights reserved.