Interface Configurator


  • public interface Configurator
    Log4j 1.x Configurator interface.
    • Method Detail

      • doConfigure

        void doConfigure​(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​(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