Package org.apache.log4j.config
Class Log4j1ConfigurationFactory
- java.lang.Object
-
- org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilderFactory
-
- org.apache.logging.log4j.core.config.ConfigurationFactory
-
- org.apache.log4j.config.Log4j1ConfigurationFactory
-
public class Log4j1ConfigurationFactory extends ConfigurationFactory
Experimental ConfigurationFactory for Log4j 1.2 properties configuration files.
-
-
Field Summary
-
Fields inherited from class org.apache.logging.log4j.core.config.ConfigurationFactory
AUTHORIZATION_PROVIDER, CATEGORY, CONFIGURATION_FACTORY_PROPERTY, CONFIGURATION_FILE_PROPERTY, DEFAULT_PREFIX, LOG4J1_CONFIGURATION_FILE_PROPERTY, LOG4J1_EXPERIMENTAL, LOG4J1_VERSION, LOG4J2_VERSION, LOGGER, substitutor, TEST_PREFIX
-
-
Constructor Summary
Constructors Constructor Description Log4j1ConfigurationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configuration
getConfiguration(LoggerContext loggerContext, ConfigurationSource source)
protected String[]
getSupportedTypes()
-
Methods inherited from class org.apache.logging.log4j.core.config.ConfigurationFactory
authorizationProvider, getAuthorizationProvider, getConfiguration, getConfiguration, getDefaultPrefix, getInputFromString, getInstance, getTestPrefix, getVersion, isActive, removeConfigurationFactory, resetConfigurationFactory, setConfigurationFactory
-
Methods inherited from class org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilderFactory
newConfigurationBuilder, newConfigurationBuilder
-
-
-
-
Method Detail
-
getConfiguration
public Configuration getConfiguration(LoggerContext loggerContext, ConfigurationSource source)
- Specified by:
getConfiguration
in classConfigurationFactory
-
getSupportedTypes
protected String[] getSupportedTypes()
- Specified by:
getSupportedTypes
in classConfigurationFactory
-
-