Codota Logo
PropertyConfigurator.configureLoggerFactory
Code IndexAdd Codota to your IDE (free)

How to use
configureLoggerFactory
method
in
org.apache.log4j.PropertyConfigurator

Best Java code snippets using org.apache.log4j.PropertyConfigurator.configureLoggerFactory (Showing top 10 results out of 315)

  • Common ways to obtain PropertyConfigurator
private void myMethod () {
PropertyConfigurator p =
  • Codota Iconnew PropertyConfigurator()
  • Smart code suggestions by Codota
}
origin: log4j/log4j

configureLoggerFactory(properties);
parseCatsAndRenderers(properties, hierarchy);
origin: camunda/camunda-bpm-platform

/**
  Read configuration options from <code>properties</code>.
  See {@link #doConfigure(String, LoggerRepository)} for the expected format.
*/
public
void doConfigure(Properties properties, LoggerRepository hierarchy) {
 String value = properties.getProperty(LogLog.DEBUG_KEY);
 if(value == null) {
  value = properties.getProperty(LogLog.CONFIG_DEBUG_KEY);
  if(value != null)
 LogLog.warn("[log4j.configDebug] is deprecated. Use [log4j.debug] instead.");
 }
 if(value != null) {
  LogLog.setInternalDebugging(OptionConverter.toBoolean(value, true));
 }
 String thresholdStr = OptionConverter.findAndSubst(THRESHOLD_PREFIX,
               properties);
 if(thresholdStr != null) {
  hierarchy.setThreshold(OptionConverter.toLevel(thresholdStr,
              (Level) Level.ALL));
  LogLog.debug("Hierarchy threshold set to ["+hierarchy.getThreshold()+"].");
 }
 configureRootCategory(properties, hierarchy);
 configureLoggerFactory(properties);
 parseCatsAndRenderers(properties, hierarchy);
 LogLog.debug("Finished configuring.");
 // We don't want to hold references to appenders preventing their
 // garbage collection.
 registry.clear();
}
origin: apache/log4j

configureLoggerFactory(properties);
parseCatsAndRenderers(properties, hierarchy);
origin: org.apache/log4j

configureLoggerFactory(properties);
parseCatsAndRenderers(properties, hierarchy);
origin: com.impetus.fabric/fabric-jdbc-driver-shaded

configureLoggerFactory(properties);
parseCatsAndRenderers(properties, hierarchy);
origin: apache-log4j/log4j

configureLoggerFactory(properties);
parseCatsAndRenderers(properties, hierarchy);
origin: at.bestsolution.efxclipse.eclipse/org.apache.log4j

configureLoggerFactory(properties);
parseCatsAndRenderers(properties, hierarchy);
origin: org.apache.activemq/activemq-all

configureLoggerFactory(properties);
parseCatsAndRenderers(properties, hierarchy);
origin: org.apache.log4j/com.springsource.org.apache.log4j

configureLoggerFactory(properties);
parseCatsAndRenderers(properties, hierarchy);
origin: org.jboss.logmanager/log4j-jboss-logmanager

configureLoggerFactory(properties);
parseCatsAndRenderers(properties, hierarchy);
org.apache.log4jPropertyConfiguratorconfigureLoggerFactory

Javadoc

Check the provided Properties object for a org.apache.log4j.spi.LoggerFactoryentry specified by #LOGGER_FACTORY_KEY. If such an entry exists, an attempt is made to create an instance using the default constructor. This instance is used for subsequent Category creations within this configurator.

Popular methods of PropertyConfigurator

  • configure
    Read configuration options from properties. See #doConfigure(String,LoggerRepository) for the expect
  • configureAndWatch
    Read the configuration file configFilename if it exists. Moreover, a thread will be created that wil
  • <init>
  • doConfigure
    Read configuration options from properties. See #doConfigure(String,LoggerRepository) for the expect
  • configureRootCategory
  • parseAdditivityForLogger
    Parse the additivity option for a non-root category.
  • parseAppender
  • parseCategory
    This method must work for the root category as well.
  • parseCatsAndRenderers
    Parse non-root elements, such non-root categories and renderers.
  • registryGet
  • registryPut
  • parseAppenderFilters
  • registryPut,
  • parseAppenderFilters,
  • parseErrorHandler

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • requestLocationUpdates (LocationManager)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • Reference (javax.naming)
  • BoxLayout (javax.swing)
  • JComboBox (javax.swing)
  • JTable (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now