Class HybrisLog4j2ConfigurationFactory


  • @Plugin(name="CustomConfigurationFactory",
            category="ConfigurationFactory")
    public class HybrisLog4j2ConfigurationFactory
    extends org.apache.logging.log4j.core.config.ConfigurationFactory
    • Field Summary

      • Fields inherited from class org.apache.logging.log4j.core.config.ConfigurationFactory

        CATEGORY, CONFIGURATION_FACTORY_PROPERTY, CONFIGURATION_FILE_PROPERTY, DEFAULT_PREFIX, LOGGER, substitutor, TEST_PREFIX
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.logging.log4j.core.config.Configuration getConfiguration​(org.apache.logging.log4j.core.LoggerContext loggerContext, java.lang.String name, java.net.URI configLocation)  
      org.apache.logging.log4j.core.config.Configuration getConfiguration​(org.apache.logging.log4j.core.LoggerContext loggerContext, org.apache.logging.log4j.core.config.ConfigurationSource source)  
      protected java.lang.String[] getSupportedTypes()  
      • Methods inherited from class org.apache.logging.log4j.core.config.ConfigurationFactory

        getConfiguration, getInputFromString, getInstance, isActive, removeConfigurationFactory, resetConfigurationFactory, setConfigurationFactory
      • Methods inherited from class org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilderFactory

        newConfigurationBuilder, newConfigurationBuilder
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HybrisLog4j2ConfigurationFactory

        public HybrisLog4j2ConfigurationFactory()
    • Method Detail

      • 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:
        getConfiguration in class org.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:
        getConfiguration in class org.apache.logging.log4j.core.config.ConfigurationFactory
      • getSupportedTypes

        protected java.lang.String[] getSupportedTypes()
        Specified by:
        getSupportedTypes in class org.apache.logging.log4j.core.config.ConfigurationFactory