Package io.datarouter.logging
Class StartupConfigurationFactory
java.lang.Object
org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilderFactory
org.apache.logging.log4j.core.config.ConfigurationFactory
io.datarouter.logging.StartupConfigurationFactory
@Plugin(category="ConfigurationFactory",
name="StartupConfigurationFactory")
public class StartupConfigurationFactory
extends org.apache.logging.log4j.core.config.ConfigurationFactory
-
Field Summary
Fields Modifier and Type Field Description static java.util.Collection<org.apache.logging.log4j.core.Appender>staticAppendersstatic java.util.Collection<org.apache.logging.log4j.core.config.LoggerConfig>staticLoggerConfigsFields 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 StartupConfigurationFactory() -
Method Summary
Modifier and Type Method Description org.apache.logging.log4j.core.config.ConfigurationgetConfiguration(org.apache.logging.log4j.core.LoggerContext loggerContext, org.apache.logging.log4j.core.config.ConfigurationSource source)java.lang.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
-
Field Details
-
staticAppenders
public static final java.util.Collection<org.apache.logging.log4j.core.Appender> staticAppenders -
staticLoggerConfigs
public static final java.util.Collection<org.apache.logging.log4j.core.config.LoggerConfig> staticLoggerConfigs
-
-
Constructor Details
-
StartupConfigurationFactory
public StartupConfigurationFactory()
-
-
Method Details
-
getSupportedTypes
public java.lang.String[] getSupportedTypes()- Specified by:
getSupportedTypesin classorg.apache.logging.log4j.core.config.ConfigurationFactory
-
getConfiguration
public org.apache.logging.log4j.core.config.Configuration getConfiguration(org.apache.logging.log4j.core.LoggerContext loggerContext, org.apache.logging.log4j.core.config.ConfigurationSource source)- Specified by:
getConfigurationin classorg.apache.logging.log4j.core.config.ConfigurationFactory
-