Package | Description |
---|---|
org.apache.logging.log4j.core.appender.routing |
Apache Flume Appender.
|
Modifier and Type | Class and Description |
---|---|
class |
IdlePurgePolicy
Policy is purging appenders that were not in use specified time in minutes
|
Modifier and Type | Method and Description |
---|---|
static PurgePolicy |
IdlePurgePolicy.createPurgePolicy(String timeToLive,
String checkInterval,
String timeUnit,
Configuration configuration)
Create the PurgePolicy
|
PurgePolicy |
RoutingAppender.getPurgePolicy() |
PurgePolicy |
RoutingAppender.Builder.getPurgePolicy() |
Modifier and Type | Method and Description |
---|---|
static RoutingAppender |
RoutingAppender.createAppender(String name,
String ignore,
Routes routes,
Configuration config,
RewritePolicy rewritePolicy,
PurgePolicy purgePolicy,
Filter filter)
Deprecated.
Since 2.7; use
RoutingAppender.newBuilder() |
void |
RoutingAppender.Builder.withPurgePolicy(PurgePolicy purgePolicy) |
Copyright © 1999-2019 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.