Package | Description |
---|---|
org.apache.log4j.config |
Log4j 1.x compatibility layer.
|
org.apache.log4j.xml |
Log4j 1.x compatibility layer.
|
org.apache.logging.log4j.core |
Implementation of Log4j 2.
|
org.apache.logging.log4j.core.config |
Configuration of Log4j 2.
|
org.apache.logging.log4j.core.config.composite |
Support for composite configurations.
|
org.apache.logging.log4j.core.config.json |
Classes and interfaces supporting configuration of Log4j 2 with JSON.
|
org.apache.logging.log4j.core.util |
Log4j 2 helper classes.
|
Modifier and Type | Class and Description |
---|---|
class |
Log4j1Configuration
Class Description goes here.
|
class |
PropertiesConfiguration
Construct a configuration based on Log4j 1 properties.
|
Modifier and Type | Class and Description |
---|---|
class |
XmlConfiguration
Class Description goes here.
|
Modifier and Type | Method and Description |
---|---|
void |
LoggerContext.onChange(Reconfigurable reconfigurable)
Causes a reconfiguration to take place when the underlying configuration file changes.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractConfiguration.initializeWatchers(Reconfigurable reconfigurable,
ConfigurationSource configSource,
int monitorIntervalSeconds) |
private void |
AbstractConfiguration.monitorSource(Reconfigurable reconfigurable,
ConfigurationSource configSource) |
Watcher |
HttpWatcher.newWatcher(Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> listeners,
long lastModifiedMillis) |
Watcher |
ConfigurationFileWatcher.newWatcher(Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> listeners,
long lastModifiedMillis) |
void |
ConfigurationListener.onChange(Reconfigurable reconfigurable) |
Constructor and Description |
---|
ConfigurationFileWatcher(Configuration configuration,
Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> configurationListeners,
long lastModifiedMillis) |
HttpWatcher(Configuration configuration,
Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> configurationListeners,
long lastModifiedMillis) |
Modifier and Type | Class and Description |
---|---|
class |
CompositeConfiguration
A Composite Configuration.
|
Modifier and Type | Class and Description |
---|---|
class |
JsonConfiguration
Creates a Node hierarchy from a JSON file.
|
Modifier and Type | Field and Description |
---|---|
private Reconfigurable |
AbstractWatcher.reconfigurable |
private Reconfigurable |
AbstractWatcher.ReconfigurationRunnable.reconfigurable |
Modifier and Type | Method and Description |
---|---|
static <T extends Watcher> |
WatcherFactory.instantiate(java.lang.String name,
java.lang.Class<T> clazz,
Configuration configuration,
Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> listeners,
long lastModifiedMillis) |
Watcher |
WrappedFileWatcher.newWatcher(Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> listeners,
long lastModifiedMillis) |
Watcher |
Watcher.newWatcher(Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> listeners,
long lastModifiedMillis)
Creates a new Watcher by copying the original and using the new Reconfigurable and listeners.
|
Watcher |
WatcherFactory.newWatcher(Source source,
Configuration configuration,
Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> configurationListeners,
long lastModifiedMillis) |
Constructor and Description |
---|
AbstractWatcher(Configuration configuration,
Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> configurationListeners) |
ReconfigurationRunnable(ConfigurationListener configurationListener,
Reconfigurable reconfigurable) |
WrappedFileWatcher(FileWatcher watcher,
Configuration configuration,
Reconfigurable reconfigurable,
java.util.List<ConfigurationListener> configurationListeners,
long lastModifiedMillis) |