public class MgwLog4j2ConfigurationFactory
extends 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 and Description |
|---|
MgwLog4j2ConfigurationFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.logging.log4j.core.config.Configuration |
getConfiguration(org.apache.logging.log4j.core.LoggerContext loggerContext,
org.apache.logging.log4j.core.config.ConfigurationSource source) |
org.apache.logging.log4j.core.config.Configuration |
getConfiguration(org.apache.logging.log4j.core.LoggerContext loggerContext,
String name,
URI configLocation) |
protected String[] |
getSupportedTypes() |
static void |
modifyAfterInitialization(String logLevel)
Modify the default programmatic configuration for log4j2 based on the log level set in gateway.
|
authorizationProvider, getAuthorizationProvider, getConfiguration, getDefaultPrefix, getInputFromString, getInstance, getTestPrefix, getVersion, isActive, removeConfigurationFactory, resetConfigurationFactory, setConfigurationFactorypublic org.apache.logging.log4j.core.config.Configuration getConfiguration(org.apache.logging.log4j.core.LoggerContext loggerContext,
org.apache.logging.log4j.core.config.ConfigurationSource source)
getConfiguration in class org.apache.logging.log4j.core.config.ConfigurationFactorypublic org.apache.logging.log4j.core.config.Configuration getConfiguration(org.apache.logging.log4j.core.LoggerContext loggerContext,
String name,
URI configLocation)
getConfiguration in class org.apache.logging.log4j.core.config.ConfigurationFactoryprotected String[] getSupportedTypes()
getSupportedTypes in class org.apache.logging.log4j.core.config.ConfigurationFactorypublic static void modifyAfterInitialization(String logLevel)
logLevel - log levelCopyright © 2021 WSO2. All rights reserved.