Package co.elastic.apm.agent.logging
Class Log4j2ConfigurationFactory
- java.lang.Object
-
- org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilderFactory
-
- org.apache.logging.log4j.core.config.ConfigurationFactory
-
- co.elastic.apm.agent.logging.Log4j2ConfigurationFactory
-
public class Log4j2ConfigurationFactory extends org.apache.logging.log4j.core.config.ConfigurationFactory
-
-
Constructor Summary
Constructors Constructor Description Log4j2ConfigurationFactory(java.util.List<org.stagemonitor.configuration.source.ConfigurationSource> sources, java.lang.String ephemeralId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.logging.log4j.core.config.ConfigurationgetConfiguration()org.apache.logging.log4j.core.config.ConfigurationgetConfiguration(org.apache.logging.log4j.core.LoggerContext loggerContext, java.lang.String name, java.net.URI configLocation)org.apache.logging.log4j.core.config.ConfigurationgetConfiguration(org.apache.logging.log4j.core.LoggerContext loggerContext, org.apache.logging.log4j.core.config.ConfigurationSource source)protected java.lang.String[]getSupportedTypes()static java.io.FilegetTempLogFile(java.lang.String ephemeralId)-
Methods inherited from class org.apache.logging.log4j.core.config.ConfigurationFactory
getAuthorizationProvider, getConfiguration, getInputFromString, getInstance, isActive, removeConfigurationFactory, resetConfigurationFactory, setConfigurationFactory
-
-
-
-
Method Detail
-
getSupportedTypes
protected 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, java.lang.String name, java.net.URI configLocation)- Overrides:
getConfigurationin 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
-
getConfiguration
public org.apache.logging.log4j.core.config.Configuration getConfiguration()
-
getTempLogFile
public static java.io.File getTempLogFile(java.lang.String ephemeralId)
-
-