Package | Description |
---|---|
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.config.properties |
Configuration using Properties files.
|
org.apache.logging.log4j.core.config.xml |
Classes and interfaces supporting configuration of Log4j 2 with XML.
|
org.apache.logging.log4j.core.config.yaml |
Classes and interfaces supporting configuration of Log4j 2 with YAML.
|
org.apache.logging.log4j.core.util |
Log4j 2 helper classes.
|
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) |
Watcher |
ConfigurationFileWatcher.newWatcher(Reconfigurable reconfigurable,
List<ConfigurationListener> listeners,
long lastModifiedMillis) |
Watcher |
HttpWatcher.newWatcher(Reconfigurable reconfigurable,
List<ConfigurationListener> listeners,
long lastModifiedMillis) |
void |
ConfigurationListener.onChange(Reconfigurable reconfigurable) |
Constructor and Description |
---|
ConfigurationFileWatcher(Configuration configuration,
Reconfigurable reconfigurable,
List<ConfigurationListener> configurationListeners,
long lastModifiedMillis) |
HttpWatcher(Configuration configuration,
Reconfigurable reconfigurable,
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 | Class and Description |
---|---|
class |
PropertiesConfiguration
Configuration created from a properties file.
|
Modifier and Type | Class and Description |
---|---|
class |
XmlConfiguration
Creates a Node hierarchy from an XML file.
|
Modifier and Type | Class and Description |
---|---|
class |
YamlConfiguration |
Modifier and Type | Method and Description |
---|---|
static <T extends Watcher> |
WatcherFactory.instantiate(String name,
Class<T> clazz,
Configuration configuration,
Reconfigurable reconfigurable,
List<ConfigurationListener> listeners,
long lastModifiedMillis) |
Watcher |
Watcher.newWatcher(Reconfigurable reconfigurable,
List<ConfigurationListener> listeners,
long lastModifiedMillis)
Creates a new Watcher by copying the original and using the new Reconfigurable and listeners.
|
Watcher |
WrappedFileWatcher.newWatcher(Reconfigurable reconfigurable,
List<ConfigurationListener> listeners,
long lastModifiedMillis) |
Watcher |
WatcherFactory.newWatcher(Source source,
Configuration configuration,
Reconfigurable reconfigurable,
List<ConfigurationListener> configurationListeners,
long lastModifiedMillis) |
Constructor and Description |
---|
AbstractWatcher(Configuration configuration,
Reconfigurable reconfigurable,
List<ConfigurationListener> configurationListeners) |
ReconfigurationRunnable(ConfigurationListener configurationListener,
Reconfigurable reconfigurable) |
WrappedFileWatcher(FileWatcher watcher,
Configuration configuration,
Reconfigurable reconfigurable,
List<ConfigurationListener> configurationListeners,
long lastModifiedMillis) |
Copyright © 1999-2021 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.