Uses of Class
org.apache.logging.log4j.core.config.Property
Packages that use Property
Package
Description
Implementation of Log4j 2.
Log4j 2 Appenders.
The classes in this package and sub packages provide appenders for various types of databases and methods for
accessing databases.
The JDBC Appender supports writing log events to a relational database using standard JDBC connections.
Message oriented middleware appenders.
Classes and interfaces for ZeroMQ/JeroMQ support.
Classes and interfaces for Kafka appender support.
Apache Flume Appender.
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Configuration of Log4j 2.
Log4j 2 Filter support.
Log4j 2 private implementation classes.
Log4j 2 Lookups.
-
Uses of Property in org.apache.logging.log4j.core
Method parameters in org.apache.logging.log4j.core with type arguments of type PropertyModifier and TypeMethodDescriptionContextDataInjector.injectContextData(List<Property> properties, StringMap reusable) Returns aStringMapobject 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 PropertyMethods in org.apache.logging.log4j.core.appender with parameters of type PropertyConstructors in org.apache.logging.log4j.core.appender with parameters of type PropertyModifierConstructorDescriptionprotectedAbstractAppender(String name, Filter filter, Layout<? extends Serializable> layout, boolean ignoreExceptions, Property[] properties) Constructor.protectedAbstractOutputStreamAppender(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 newOutputStreamWriterinitialized withosas itsOutputStream.protectedAbstractWriterAppender(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) protectedSocketAppender(String name, Layout<? extends Serializable> layout, Filter filter, AbstractSocketManager manager, boolean ignoreExceptions, boolean immediateFlush, Advertiser advertiser, Property[] properties) protectedSyslogAppender(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.db
Constructors in org.apache.logging.log4j.core.appender.db with parameters of type PropertyModifierConstructorDescriptionprotectedAbstractDatabaseAppender(String name, Filter filter, Layout<? extends Serializable> layout, boolean ignoreExceptions, Property[] properties, T manager) Instantiates the base appender. -
Uses of Property in org.apache.logging.log4j.core.appender.db.jdbc
Fields in org.apache.logging.log4j.core.appender.db.jdbc declared as PropertyModifier and TypeFieldDescriptionprotected Property[]AbstractDriverManagerConnectionSource.Builder.propertiesMethods in org.apache.logging.log4j.core.appender.db.jdbc that return PropertyModifier and TypeMethodDescriptionProperty[]AbstractDriverManagerConnectionSource.Builder.getProperties()Property[]AbstractDriverManagerConnectionSource.getProperties()Methods in org.apache.logging.log4j.core.appender.db.jdbc with parameters of type PropertyModifier and TypeMethodDescriptionAbstractDriverManagerConnectionSource.Builder.setProperties(Property[] properties) protected PropertiesAbstractDriverManagerConnectionSource.toProperties(Property[] properties) Constructors in org.apache.logging.log4j.core.appender.db.jdbc with parameters of type PropertyModifierConstructorDescriptionAbstractDriverManagerConnectionSource(String driverClassName, String connectionString, String actualConnectionString, char[] userName, char[] password, Property[] properties) DriverManagerConnectionSource(String driverClassName, String connectionString, String actualConnectionString, char[] userName, char[] password, Property[] properties) -
Uses of Property in org.apache.logging.log4j.core.appender.mom
Constructors in org.apache.logging.log4j.core.appender.mom with parameters of type PropertyModifierConstructorDescriptionprotectedJmsAppender(String name, Filter filter, Layout<? extends Serializable> layout, boolean ignoreExceptions, Property[] properties, JmsManager manager) Deprecated.Constructs a new instance. -
Uses of Property in org.apache.logging.log4j.core.appender.mom.jeromq
Methods in org.apache.logging.log4j.core.appender.mom.jeromq with parameters of type PropertyModifier and TypeMethodDescriptionstatic JeroMqAppenderJeroMqAppender.createAppender(String name, Layout<?> layout, Filter filter, Property[] properties, boolean ignoreExceptions, long affinity, long backlog, boolean delayAttachOnConnect, byte[] identity, boolean ipv4Only, long linger, long maxMsgSize, long rcvHwm, long receiveBufferSize, int receiveTimeOut, long reconnectIVL, long reconnectIVLMax, long sendBufferSize, int sendTimeOut, long sndHwm, int tcpKeepAlive, long tcpKeepAliveCount, long tcpKeepAliveIdle, long tcpKeepAliveInterval, boolean xpubVerbose) -
Uses of Property in org.apache.logging.log4j.core.appender.mom.kafka
Methods in org.apache.logging.log4j.core.appender.mom.kafka with parameters of type PropertyModifier and TypeMethodDescriptionstatic KafkaAppenderKafkaAppender.createAppender(Layout<? extends Serializable> layout, Filter filter, String name, boolean ignoreExceptions, String topic, Property[] properties, Configuration configuration, String key) Deprecated.static KafkaManagerKafkaManager.getManager(LoggerContext loggerContext, String name, String topic, boolean syncSend, Property[] properties, String key) Deprecated.Constructors in org.apache.logging.log4j.core.appender.mom.kafka with parameters of type PropertyModifierConstructorDescriptionKafkaManager(LoggerContext loggerContext, String name, String topic, boolean syncSend, Property[] properties, String key) -
Uses of Property in org.apache.logging.log4j.core.appender.rewrite
Methods in org.apache.logging.log4j.core.appender.rewrite with parameters of type PropertyModifier and TypeMethodDescriptionstatic PropertiesRewritePolicyPropertiesRewritePolicy.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 PropertyModifier and TypeMethodDescriptionstatic LoggerConfigAsyncLoggerConfig.createLogger(boolean additivity, Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter) Deprecated.static LoggerConfigAsyncLoggerConfig.createLogger(String additivity, String levelName, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter) Deprecated.static LoggerConfigAsyncLoggerConfig.RootLogger.createLogger(String additivity, String levelName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter) static LoggerConfigAsyncLoggerConfig.RootLogger.createLogger(String additivity, Level level, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter) Deprecated.Constructors in org.apache.logging.log4j.core.async with parameters of type PropertyModifierConstructorDescriptionprotectedAsyncLoggerConfig(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 PropertyMethods in org.apache.logging.log4j.core.config that return PropertyModifier and TypeMethodDescriptionstatic PropertyProperty.createProperty(String name, String value) Creates a Property.static PropertyProperty.createProperty(String name, String rawValue, String value) Creates a Property.static PropertyProperty.createProperty(String name, String rawValue, Configuration configuration) Creates a Property.Property[]LoggerConfig.Builder.getProperties()Property[]LoggerConfig.RootLogger.Builder.getProperties()Methods in org.apache.logging.log4j.core.config that return types with arguments of type PropertyModifier and TypeMethodDescriptionLoggerConfig.getProperties()Deprecated.useLoggerConfig.getPropertyList()insteadLoggerConfig.getPropertyList()Returns an unmodifiable list with the configuration properties, ornullif thisLoggerConfigdoes not have any configuration properties.Methods in org.apache.logging.log4j.core.config with parameters of type PropertyModifier and TypeMethodDescriptionstatic StrLookupPropertiesPlugin.configureSubstitutor(Property[] properties, Configuration config) Creates the Properties component.static LoggerConfigLoggerConfig.createLogger(boolean additivity, Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter) Deprecated.static LoggerConfigLoggerConfig.createLogger(String additivity, Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter) Deprecated.static LoggerConfigLoggerConfig.RootLogger.createLogger(String additivity, Level level, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter) Deprecated.LoggerConfig.Builder.withProperties(Property[] properties) LoggerConfig.RootLogger.Builder.withProperties(Property[] properties) Constructors in org.apache.logging.log4j.core.config with parameters of type PropertyModifierConstructorDescriptionprotectedLoggerConfig(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 PropertyModifier and TypeMethodDescriptionProperty[]AbstractFilterable.Builder.getPropertyArray()Property[]AbstractFilterable.getPropertyArray()Methods in org.apache.logging.log4j.core.filter with parameters of type PropertyModifier and TypeMethodDescriptionAbstractFilterable.Builder.setPropertyArray(Property[] properties) Constructors in org.apache.logging.log4j.core.filter with parameters of type PropertyModifierConstructorDescriptionprotectedAbstractFilterable(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 PropertyModifier and TypeMethodDescriptionstatic voidThreadContextDataInjector.copyProperties(List<Property> properties, StringMap result) Copies key-value pairs from the specified property list into the specifiedStringMap.DefaultLogEventFactory.createEvent(String loggerName, Marker marker, String fqcn, StackTraceElement location, Level level, Message data, List<Property> properties, Throwable t) Creates a log event.DefaultLogEventFactory.createEvent(String loggerName, Marker marker, String fqcn, Level level, Message data, List<Property> properties, Throwable t) Creates a log event.LocationAwareLogEventFactory.createEvent(String loggerName, Marker marker, String fqcn, StackTraceElement location, Level level, Message data, List<Property> properties, Throwable t) default LogEventLogEventFactory.createEvent(String loggerName, Marker marker, String fqcn, StackTraceElement location, Level level, Message data, List<Property> properties, Throwable t) LogEventFactory.createEvent(String loggerName, Marker marker, String fqcn, Level level, Message data, List<Property> properties, Throwable t) ReusableLogEventFactory.createEvent(String loggerName, Marker marker, String fqcn, StackTraceElement location, Level level, Message message, List<Property> properties, Throwable t) Creates a log event.ReusableLogEventFactory.createEvent(String loggerName, Marker marker, String fqcn, Level level, Message message, List<Property> properties, Throwable t) Creates a log event.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.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.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 PropertyModifierConstructorDescriptionLog4jLogEvent(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. -
Uses of Property in org.apache.logging.log4j.core.lookup
Constructors in org.apache.logging.log4j.core.lookup with parameters of type PropertyModifierConstructorDescriptionPropertiesLookup(Property[] configProperties, Map<String, String> contextProperties)
AsyncLoggerConfig.createLogger(boolean, Level, String, String, AppenderRef[], Property[], Configuration, Filter)