Interface Configurator


  • public interface Configurator
    Log4j 1.x Configurator interface.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String INHERITED  
      static java.lang.String NULL  
    • Method Detail

      • doConfigure

        void doConfigure​(java.io.InputStream inputStream,
                         LoggerContext loggerContext)
        Interpret a resource pointed by a InputStream and set up log4j accordingly. The configuration is done relative to the hierarchy parameter.
        Parameters:
        inputStream - The InputStream to parse
        Since:
        1.2.17
      • doConfigure

        void doConfigure​(java.net.URL url,
                         LoggerContext loggerContext)
        Interpret a resource pointed by a URL and set up log4j accordingly. The configuration is done relative to the hierarchy parameter.
        Parameters:
        url - The URL to parse