|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Configuration | |
---|---|
org.apache.logging.log4j.core | Implementation of Log4j 2. |
org.apache.logging.log4j.core.appender | Log4j 2 Appenders. |
org.apache.logging.log4j.core.appender.db.jdbc | The JDBC Appender supports writing log events to a relational database using standard JDBC connections. |
org.apache.logging.log4j.core.appender.rewrite | Apache Flume Appender. |
org.apache.logging.log4j.core.appender.rolling | Rolling File Appender and support classes. |
org.apache.logging.log4j.core.appender.routing | Apache Flume Appender. |
org.apache.logging.log4j.core.async | Provides Asynchronous Logger classes and interfaces for low-latency logging. |
org.apache.logging.log4j.core.config | Configuration of Log4j 2. |
org.apache.logging.log4j.core.config.json | Classes and interfaces supporting configuration of Log4j 2 with JSON. |
org.apache.logging.log4j.core.config.plugins.util | Utility and manager classes for Log4j 2 plugins. |
org.apache.logging.log4j.core.config.plugins.visitors | Visitor classes for extracting values from a Configuration or Node corresponding to a plugin annotation. |
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.layout | Log4j 2 Layout support. |
org.apache.logging.log4j.core.net.server | Standalone server classes for consuming log events over a network. |
org.apache.logging.log4j.core.pattern | Provides classes implementing format specifiers in conversion patterns. |
Uses of Configuration in org.apache.logging.log4j.core |
---|
Fields in org.apache.logging.log4j.core declared as Configuration | |
---|---|
Configuration |
Logger.PrivateConfig.config
|
Methods in org.apache.logging.log4j.core that return Configuration | |
---|---|
Configuration |
LoggerContext.getConfiguration()
Returns the current Configuration. |
Methods in org.apache.logging.log4j.core with parameters of type Configuration | |
---|---|
void |
LoggerContext.start(Configuration config)
Starts with a specific configuration. |
protected void |
Logger.updateConfiguration(Configuration newConfig)
Associates the Logger with a new Configuration. |
void |
LoggerContext.updateLoggers(Configuration config)
Causes all Logger to be updated against the specified Configuration. |
Constructors in org.apache.logging.log4j.core with parameters of type Configuration | |
---|---|
Logger.PrivateConfig(Configuration config,
Logger logger)
|
Uses of Configuration in org.apache.logging.log4j.core.appender |
---|
Methods in org.apache.logging.log4j.core.appender with parameters of type Configuration | |
---|---|
static AsyncAppender |
AsyncAppender.createAppender(AppenderRef[] appenderRefs,
String errorRef,
boolean blocking,
int size,
String name,
boolean includeLocation,
Filter filter,
Configuration config,
boolean ignoreExceptions)
Create an AsyncAppender. |
static SyslogAppender |
SyslogAppender.createAppender(String host,
int port,
String protocolStr,
SslConfiguration sslConfig,
int connectTimeoutMillis,
int reconnectionDelayMillis,
boolean immediateFail,
String name,
boolean immediateFlush,
boolean ignoreExceptions,
Facility facility,
String id,
int enterpriseNumber,
boolean includeMdc,
String mdcId,
String mdcPrefix,
String eventPrefix,
boolean newLine,
String escapeNL,
String appName,
String msgId,
String excludes,
String includes,
String required,
String format,
Filter filter,
Configuration config,
Charset charsetName,
String exceptionPattern,
LoggerFields[] loggerFields,
boolean advertise)
Create a SyslogAppender. |
static FailoverAppender |
FailoverAppender.createAppender(String name,
String primary,
String[] failovers,
String retryIntervalSeconds,
Configuration config,
Filter filter,
String ignore)
Create a Failover Appender. |
static SocketAppender |
SocketAppender.createAppender(String host,
String portNum,
String protocolStr,
SslConfiguration sslConfig,
int connectTimeoutMillis,
String delayMillis,
String immediateFail,
String name,
String immediateFlush,
String ignore,
Layout<? extends Serializable> layout,
Filter filter,
String advertise,
Configuration config)
|
static RandomAccessFileAppender |
RandomAccessFileAppender.createAppender(String fileName,
String append,
String name,
String immediateFlush,
String bufferSizeStr,
String ignore,
Layout<? extends Serializable> layout,
Filter filter,
String advertise,
String advertiseURI,
Configuration config)
Create a File Appender. |
static MemoryMappedFileAppender |
MemoryMappedFileAppender.createAppender(String fileName,
String append,
String name,
String immediateFlush,
String regionLengthStr,
String ignore,
Layout<? extends Serializable> layout,
Filter filter,
String advertise,
String advertiseURI,
Configuration config)
Create a Memory Mapped File Appender. |
static FileAppender |
FileAppender.createAppender(String fileName,
String append,
String locking,
String name,
String immediateFlush,
String ignore,
String bufferedIo,
String bufferSizeStr,
Layout<? extends Serializable> layout,
Filter filter,
String advertise,
String advertiseUri,
Configuration config)
Create a File Appender. |
static RollingFileAppender |
RollingFileAppender.createAppender(String fileName,
String filePattern,
String append,
String name,
String bufferedIO,
String bufferSizeStr,
String immediateFlush,
TriggeringPolicy policy,
RolloverStrategy strategy,
Layout<? extends Serializable> layout,
Filter filter,
String ignore,
String advertise,
String advertiseURI,
Configuration config)
Create a RollingFileAppender. |
static RollingRandomAccessFileAppender |
RollingRandomAccessFileAppender.createAppender(String fileName,
String filePattern,
String append,
String name,
String immediateFlush,
String bufferSizeStr,
TriggeringPolicy policy,
RolloverStrategy strategy,
Layout<? extends Serializable> layout,
Filter filter,
String ignore,
String advertise,
String advertiseURI,
Configuration config)
Create a RollingRandomAccessFileAppender. |
Uses of Configuration in org.apache.logging.log4j.core.appender.db.jdbc |
---|
Methods in org.apache.logging.log4j.core.appender.db.jdbc with parameters of type Configuration | |
---|---|
static ColumnConfig |
ColumnConfig.createColumnConfig(Configuration config,
String name,
String pattern,
String literalValue,
String eventTimestamp,
String unicode,
String clob)
Factory method for creating a column config within the plugin manager. |
Uses of Configuration in org.apache.logging.log4j.core.appender.rewrite |
---|
Methods in org.apache.logging.log4j.core.appender.rewrite with parameters of type Configuration | |
---|---|
static RewriteAppender |
RewriteAppender.createAppender(String name,
String ignore,
AppenderRef[] appenderRefs,
Configuration config,
RewritePolicy rewritePolicy,
Filter filter)
Create a RewriteAppender. |
static PropertiesRewritePolicy |
PropertiesRewritePolicy.createPolicy(Configuration config,
Property[] props)
The factory method to create the PropertiesRewritePolicy. |
Uses of Configuration in org.apache.logging.log4j.core.appender.rolling |
---|
Methods in org.apache.logging.log4j.core.appender.rolling with parameters of type Configuration | |
---|---|
static DefaultRolloverStrategy |
DefaultRolloverStrategy.createStrategy(String max,
String min,
String fileIndex,
String compressionLevelStr,
Configuration config)
Create the DefaultRolloverStrategy. |
Uses of Configuration in org.apache.logging.log4j.core.appender.routing |
---|
Methods in org.apache.logging.log4j.core.appender.routing with parameters of type Configuration | |
---|---|
static RoutingAppender |
RoutingAppender.createAppender(String name,
String ignore,
Routes routes,
Configuration config,
RewritePolicy rewritePolicy,
Filter filter)
Create a RoutingAppender. |
Uses of Configuration in org.apache.logging.log4j.core.async |
---|
Methods in org.apache.logging.log4j.core.async with parameters of type Configuration | |
---|---|
static LoggerConfig |
AsyncLoggerConfig.RootLogger.createLogger(String additivity,
String levelName,
String includeLocation,
AppenderRef[] refs,
Property[] properties,
Configuration config,
Filter filter)
|
static LoggerConfig |
AsyncLoggerConfig.createLogger(String additivity,
String levelName,
String loggerName,
String includeLocation,
AppenderRef[] refs,
Property[] properties,
Configuration config,
Filter filter)
Factory method to create a LoggerConfig. |
Constructors in org.apache.logging.log4j.core.async with parameters of type Configuration | |
---|---|
AsyncLoggerConfig(String name,
List<AppenderRef> appenders,
Filter filter,
org.apache.logging.log4j.Level level,
boolean additive,
Property[] properties,
Configuration config,
boolean includeLocation)
|
Uses of Configuration in org.apache.logging.log4j.core.config |
---|
Classes in org.apache.logging.log4j.core.config that implement Configuration | |
---|---|
class |
AbstractConfiguration
The base Configuration. |
class |
DefaultConfiguration
The default configuration writes all output to the Console using the default logging level. |
class |
NullConfiguration
This configuration defaults to no logging. |
Methods in org.apache.logging.log4j.core.config that return Configuration | |
---|---|
abstract Configuration |
ConfigurationFactory.getConfiguration(ConfigurationSource source)
|
Configuration |
ConfigurationFactory.getConfiguration(String name,
URI configLocation)
Returns the Configuration. |
Configuration |
ConfigurationFactory.getConfiguration(String name,
URI configLocation,
ClassLoader loader)
Returns the Configuration obtained using a given ClassLoader. |
Configuration |
Reconfigurable.reconfigure()
|
Methods in org.apache.logging.log4j.core.config with parameters of type Configuration | |
---|---|
static StrLookup |
PropertiesPlugin.configureSubstitutor(Property[] properties,
Configuration config)
Create the Properties component. |
static LoggerConfig |
LoggerConfig.RootLogger.createLogger(String additivity,
org.apache.logging.log4j.Level level,
String includeLocation,
AppenderRef[] refs,
Property[] properties,
Configuration config,
Filter filter)
|
static LoggerConfig |
LoggerConfig.createLogger(String additivity,
org.apache.logging.log4j.Level level,
String loggerName,
String includeLocation,
AppenderRef[] refs,
Property[] properties,
Configuration config,
Filter filter)
Factory method to create a LoggerConfig. |
Constructors in org.apache.logging.log4j.core.config with parameters of type Configuration | |
---|---|
LoggerConfig(String name,
List<AppenderRef> appenders,
Filter filter,
org.apache.logging.log4j.Level level,
boolean additive,
Property[] properties,
Configuration config,
boolean includeLocation)
|
Uses of Configuration in org.apache.logging.log4j.core.config.json |
---|
Classes in org.apache.logging.log4j.core.config.json that implement Configuration | |
---|---|
class |
JsonConfiguration
Creates a Node hierarchy from a JSON file. |
Methods in org.apache.logging.log4j.core.config.json that return Configuration | |
---|---|
Configuration |
JsonConfigurationFactory.getConfiguration(ConfigurationSource source)
|
Configuration |
JsonConfiguration.reconfigure()
|
Uses of Configuration in org.apache.logging.log4j.core.config.plugins.util |
---|
Methods in org.apache.logging.log4j.core.config.plugins.util with parameters of type Configuration | |
---|---|
PluginBuilder |
PluginBuilder.withConfiguration(Configuration configuration)
Specifies the Configuration to use for constructing the plugin instance. |
Uses of Configuration in org.apache.logging.log4j.core.config.plugins.visitors |
---|
Methods in org.apache.logging.log4j.core.config.plugins.visitors with parameters of type Configuration | |
---|---|
Object |
PluginVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
StringBuilder log)
Visits a Node to obtain a value for constructing a Plugin object. |
Object |
PluginValueVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
StringBuilder log)
|
Object |
PluginNodeVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
StringBuilder log)
|
Object |
PluginElementVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
StringBuilder log)
|
Object |
PluginConfigurationVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
StringBuilder log)
|
Object |
PluginBuilderAttributeVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
StringBuilder log)
|
Object |
PluginAttributeVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
StringBuilder log)
|
Uses of Configuration in org.apache.logging.log4j.core.config.xml |
---|
Classes in org.apache.logging.log4j.core.config.xml that implement Configuration | |
---|---|
class |
XmlConfiguration
Creates a Node hierarchy from an XML file. |
Methods in org.apache.logging.log4j.core.config.xml that return Configuration | |
---|---|
Configuration |
XmlConfigurationFactory.getConfiguration(ConfigurationSource source)
Returns the Configuration. |
Configuration |
XmlConfiguration.reconfigure()
|
Uses of Configuration in org.apache.logging.log4j.core.config.yaml |
---|
Classes in org.apache.logging.log4j.core.config.yaml that implement Configuration | |
---|---|
class |
YamlConfiguration
|
Methods in org.apache.logging.log4j.core.config.yaml that return Configuration | |
---|---|
Configuration |
YamlConfigurationFactory.getConfiguration(ConfigurationSource source)
|
Configuration |
YamlConfiguration.reconfigure()
|
Uses of Configuration in org.apache.logging.log4j.core.layout |
---|
Methods in org.apache.logging.log4j.core.layout with parameters of type Configuration | |
---|---|
static Rfc5424Layout |
Rfc5424Layout.createLayout(Facility facility,
String id,
int enterpriseNumber,
boolean includeMDC,
String mdcId,
String mdcPrefix,
String eventPrefix,
boolean newLine,
String escapeNL,
String appName,
String msgId,
String excludes,
String includes,
String required,
String exceptionPattern,
boolean useTlsMessageFormat,
LoggerFields[] loggerFields,
Configuration config)
Create the RFC 5424 Layout. |
static PatternLayout |
PatternLayout.createLayout(String pattern,
Configuration config,
RegexReplacement replace,
Charset charset,
boolean alwaysWriteExceptions,
boolean noConsoleNoAnsi,
String header,
String footer)
Create a pattern layout. |
static PatternParser |
PatternLayout.createPatternParser(Configuration config)
Create a PatternParser. |
PatternLayout.Builder |
PatternLayout.Builder.withConfiguration(Configuration configuration)
|
Uses of Configuration in org.apache.logging.log4j.core.net.server |
---|
Methods in org.apache.logging.log4j.core.net.server that return Configuration | |
---|---|
Configuration |
AbstractSocketServer.ServerConfigurationFactory.getConfiguration(String name,
URI configLocation)
|
Uses of Configuration in org.apache.logging.log4j.core.pattern |
---|
Methods in org.apache.logging.log4j.core.pattern with parameters of type Configuration | ||
---|---|---|
protected static
|
AbstractStyleNameConverter.newInstance(Class<T> asnConverterClass,
String name,
Configuration config,
String[] options)
Gets an instance of the class (called via reflection). |
|
static StyleConverter |
StyleConverter.newInstance(Configuration config,
String[] options)
Gets an instance of the class. |
|
static RegexReplacementConverter |
RegexReplacementConverter.newInstance(Configuration config,
String[] options)
Gets an instance of the class. |
|
static MessagePatternConverter |
MessagePatternConverter.newInstance(Configuration config,
String[] options)
Obtains an instance of pattern converter. |
|
static HighlightConverter |
HighlightConverter.newInstance(Configuration config,
String[] options)
Gets an instance of the class. |
|
static EncodingPatternConverter |
EncodingPatternConverter.newInstance(Configuration config,
String[] options)
Obtains an instance of pattern converter. |
|
static AbstractStyleNameConverter.Black |
AbstractStyleNameConverter.Black.newInstance(Configuration config,
String[] options)
Gets an instance of the class (called via reflection). |
|
static AbstractStyleNameConverter.Blue |
AbstractStyleNameConverter.Blue.newInstance(Configuration config,
String[] options)
Gets an instance of the class (called via reflection). |
|
static AbstractStyleNameConverter.Cyan |
AbstractStyleNameConverter.Cyan.newInstance(Configuration config,
String[] options)
Gets an instance of the class (called via reflection). |
|
static AbstractStyleNameConverter.Green |
AbstractStyleNameConverter.Green.newInstance(Configuration config,
String[] options)
Gets an instance of the class (called via reflection). |
|
static AbstractStyleNameConverter.Magenta |
AbstractStyleNameConverter.Magenta.newInstance(Configuration config,
String[] options)
Gets an instance of the class (called via reflection). |
|
static AbstractStyleNameConverter.Red |
AbstractStyleNameConverter.Red.newInstance(Configuration config,
String[] options)
Gets an instance of the class (called via reflection). |
|
static AbstractStyleNameConverter.White |
AbstractStyleNameConverter.White.newInstance(Configuration config,
String[] options)
Gets an instance of the class (called via reflection). |
|
static AbstractStyleNameConverter.Yellow |
AbstractStyleNameConverter.Yellow.newInstance(Configuration config,
String[] options)
Gets an instance of the class (called via reflection). |
Constructors in org.apache.logging.log4j.core.pattern with parameters of type Configuration | |
---|---|
LiteralPatternConverter(Configuration config,
String literal,
boolean convertBackslashes)
Create a new instance. |
|
PatternParser(Configuration config,
String converterKey,
Class<?> expected)
Constructor. |
|
PatternParser(Configuration config,
String converterKey,
Class<?> expectedClass,
Class<?> filterClass)
Constructor. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1999-2015 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.