Class PropertyConfigurator

  • All Implemented Interfaces:
    Configurator

    @Deprecated(since="2022-01-27")
    public class PropertyConfigurator
    extends Object
    implements Configurator
    Deprecated.
    Apache Log4j 1 has reached end of life in 2015 and is no longer supported.
    An nop implementation of PropertyConfigurator.
    • Constructor Detail

      • PropertyConfigurator

        public PropertyConfigurator()
        Deprecated.
    • Method Detail

      • configure

        public static void configure​(Properties properties)
        Deprecated.
      • configure

        public static void configure​(String configFilename)
        Deprecated.
      • configure

        public static void configure​(URL configURL)
        Deprecated.
      • configureAndWatch

        public static void configureAndWatch​(String configFilename)
        Deprecated.
      • configureAndWatch

        public static void configureAndWatch​(String configFilename,
                                             long delay)
        Deprecated.
      • doConfigure

        public void doConfigure​(URL configURL,
                                LoggerRepository hierarchy)
        Deprecated.
        Description copied from interface: Configurator
        Interpret a resource pointed by a URL and set up log4j accordingly. The configuration is done relative to the hierarchy parameter.
        Specified by:
        doConfigure in interface Configurator
        Parameters:
        configURL - The URL to parse
        hierarchy - The hierarchy to operation upon.