Package | Description |
---|---|
org.apache.logging.log4j.core.async |
Provides Asynchronous Logger classes and interfaces for low-latency logging.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultAsyncQueueFullPolicy
Default: any logging done when queue is full bypasses the queue and logs synchronously: send the event directly to
the appender (in the current thread).
|
class |
DiscardingAsyncQueueFullPolicy
Discarding router extends the DefaultAsyncQueueFullPolicy by first verifying if the queue is fuller than the specified
threshold ratio; if this is the case, log events more specific than
the specified threshold level are dropped.
|
Modifier and Type | Method and Description |
---|---|
static AsyncQueueFullPolicy |
AsyncQueueFullPolicyFactory.create()
Creates and returns
AsyncQueueFullPolicy instances based on user-specified system properties. |
Modifier and Type | Method and Description |
---|---|
static long |
DiscardingAsyncQueueFullPolicy.getDiscardCount(AsyncQueueFullPolicy router) |
Copyright © 1999-2017. 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.