Uses of Class
org.apache.logging.log4j.core.config.Property
-
Packages that use Property Package Description org.apache.log4j.bridge org.apache.logging.log4j.core Implementation of Log4j 2.org.apache.logging.log4j.core.appender Log4j 2 Appenders.org.apache.logging.log4j.core.appender.rewrite 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.filter Log4j 2 Filter support.org.apache.logging.log4j.core.impl Log4j 2 private implementation classes. -
-
Uses of Property in org.apache.log4j.bridge
Constructors in org.apache.log4j.bridge with parameters of type Property Constructor Description Adapter(String name, Filter filter, Layout<? extends Serializable> layout, boolean ignoreExceptions, Property[] properties)
-
Uses of Property in org.apache.logging.log4j.core
Method parameters in org.apache.logging.log4j.core with type arguments of type Property Modifier and Type Method Description StringMap
ContextDataInjector. injectContextData(List<Property> properties, StringMap reusable)
Returns aStringMap
object initialized with the specified properties and the appropriate context data. -
Uses of Property in org.apache.logging.log4j.core.appender
Methods in org.apache.logging.log4j.core.appender that return Property Modifier and Type Method Description Property[]
HttpAppender.Builder. getHeaders()
Methods in org.apache.logging.log4j.core.appender with parameters of type Property Modifier and Type Method Description B
HttpAppender.Builder. setHeaders(Property[] headers)
Constructors in org.apache.logging.log4j.core.appender with parameters of type Property Constructor Description AbstractAppender(String name, Filter filter, Layout<? extends Serializable> layout, boolean ignoreExceptions, Property[] properties)
Constructor.AbstractOutputStreamAppender(String name, Layout<? extends Serializable> layout, Filter filter, boolean ignoreExceptions, boolean immediateFlush, Property[] properties, M manager)
Instantiates a WriterAppender and set the output destination to a newOutputStreamWriter
initialized withos
as itsOutputStream
.AbstractWriterAppender(String name, StringLayout layout, Filter filter, boolean ignoreExceptions, boolean immediateFlush, Property[] properties, M manager)
Instantiates.HttpURLConnectionManager(Configuration configuration, LoggerContext loggerContext, String name, URL url, String method, int connectTimeoutMillis, int readTimeoutMillis, Property[] headers, SslConfiguration sslConfiguration, boolean verifyHostname)
SocketAppender(String name, Layout<? extends Serializable> layout, Filter filter, AbstractSocketManager manager, boolean ignoreExceptions, boolean immediateFlush, Advertiser advertiser, Property[] properties)
SyslogAppender(String name, Layout<? extends Serializable> layout, Filter filter, boolean ignoreExceptions, boolean immediateFlush, AbstractSocketManager manager, Advertiser advertiser, Property[] properties)
-
Uses of Property in org.apache.logging.log4j.core.appender.rewrite
Methods in org.apache.logging.log4j.core.appender.rewrite with parameters of type Property Modifier and Type Method Description static PropertiesRewritePolicy
PropertiesRewritePolicy. createPolicy(Configuration config, Property[] props)
Creates a PropertiesRewritePolicy. -
Uses of Property in org.apache.logging.log4j.core.async
Methods in org.apache.logging.log4j.core.async with parameters of type Property Modifier and Type Method Description static LoggerConfig
AsyncLoggerConfig. createLogger(boolean additivity, Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
Factory method to create a LoggerConfig.static LoggerConfig
AsyncLoggerConfig. createLogger(String additivity, String levelName, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
static LoggerConfig
AsyncLoggerConfig.RootLogger. createLogger(String additivity, String levelName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
static LoggerConfig
AsyncLoggerConfig.RootLogger. createLogger(String additivity, Level level, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
Constructors in org.apache.logging.log4j.core.async with parameters of type Property Constructor Description AsyncLoggerConfig(String name, List<AppenderRef> appenders, Filter filter, Level level, boolean additive, Property[] properties, Configuration config, boolean includeLocation)
-
Uses of Property in org.apache.logging.log4j.core.config
Fields in org.apache.logging.log4j.core.config declared as Property Modifier and Type Field Description static Property[]
Property. EMPTY_ARRAY
Methods in org.apache.logging.log4j.core.config that return Property Modifier and Type Method Description static Property
Property. createProperty(String name, String value)
Creates a Property.Methods in org.apache.logging.log4j.core.config that return types with arguments of type Property Modifier and Type Method Description Map<Property,Boolean>
LoggerConfig. getProperties()
Deprecated.useLoggerConfig.getPropertyList()
insteadList<Property>
LoggerConfig. getPropertyList()
Returns an unmodifiable list with the configuration properties, ornull
if thisLoggerConfig
does not have any configuration properties.Methods in org.apache.logging.log4j.core.config with parameters of type Property Modifier and Type Method Description static StrLookup
PropertiesPlugin. configureSubstitutor(Property[] properties, Configuration config)
Creates the Properties component.static LoggerConfig
LoggerConfig. createLogger(boolean additivity, Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
Factory method to create a LoggerConfig.static LoggerConfig
LoggerConfig. createLogger(String additivity, Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
Deprecated.static LoggerConfig
LoggerConfig.RootLogger. createLogger(String additivity, Level level, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
Constructors in org.apache.logging.log4j.core.config with parameters of type Property Constructor Description LoggerConfig(String name, List<AppenderRef> appenders, Filter filter, Level level, boolean additive, Property[] properties, Configuration config, boolean includeLocation)
-
Uses of Property in org.apache.logging.log4j.core.filter
Methods in org.apache.logging.log4j.core.filter that return Property Modifier and Type Method Description Property[]
AbstractFilterable.Builder. getPropertyArray()
Property[]
AbstractFilterable. getPropertyArray()
Methods in org.apache.logging.log4j.core.filter with parameters of type Property Modifier and Type Method Description B
AbstractFilterable.Builder. setPropertyArray(Property[] properties)
Constructors in org.apache.logging.log4j.core.filter with parameters of type Property Constructor Description AbstractFilterable(Filter filter, Property[] propertyArray)
-
Uses of Property in org.apache.logging.log4j.core.impl
Method parameters in org.apache.logging.log4j.core.impl with type arguments of type Property Modifier and Type Method Description static void
ThreadContextDataInjector. copyProperties(List<Property> properties, StringMap result)
Copies key-value pairs from the specified property list into the specifiedStringMap
.LogEvent
DefaultLogEventFactory. createEvent(String loggerName, Marker marker, String fqcn, StackTraceElement location, Level level, Message data, List<Property> properties, Throwable t)
Creates a log event.LogEvent
DefaultLogEventFactory. createEvent(String loggerName, Marker marker, String fqcn, Level level, Message data, List<Property> properties, Throwable t)
Creates a log event.LogEvent
LocationAwareLogEventFactory. createEvent(String loggerName, Marker marker, String fqcn, StackTraceElement location, Level level, Message data, List<Property> properties, Throwable t)
LogEvent
LogEventFactory. createEvent(String loggerName, Marker marker, String fqcn, Level level, Message data, List<Property> properties, Throwable t)
LogEvent
ReusableLogEventFactory. createEvent(String loggerName, Marker marker, String fqcn, StackTraceElement location, Level level, Message message, List<Property> properties, Throwable t)
Creates a log event.LogEvent
ReusableLogEventFactory. createEvent(String loggerName, Marker marker, String fqcn, Level level, Message message, List<Property> properties, Throwable t)
Creates a log event.StringMap
ThreadContextDataInjector.ForCopyOnWriteThreadContextMap. injectContextData(List<Property> props, StringMap ignore)
If there are no configuration properties, this injector will return the thread context's internal data structure.StringMap
ThreadContextDataInjector.ForDefaultThreadContextMap. injectContextData(List<Property> props, StringMap ignore)
Puts key-value pairs from both the specified list of properties as well as the thread context into the specified reusable StringMap.StringMap
ThreadContextDataInjector.ForGarbageFreeThreadContextMap. injectContextData(List<Property> props, StringMap reusable)
Puts key-value pairs from both the specified list of properties as well as the thread context into the specified reusable StringMap.Constructor parameters in org.apache.logging.log4j.core.impl with type arguments of type Property Constructor Description Log4jLogEvent(String loggerName, Marker marker, String loggerFQCN, StackTraceElement source, Level level, Message message, List<Property> properties, Throwable t)
Constructor.Log4jLogEvent(String loggerName, Marker marker, String loggerFQCN, Level level, Message message, List<Property> properties, Throwable t)
Constructor.
-