Package org.apache.log4j
Class PropertyConfigurator
- java.lang.Object
-
- org.apache.log4j.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.
-
-
Field Summary
-
Fields inherited from interface org.apache.log4j.spi.Configurator
INHERITED, NULL
-
-
Constructor Summary
Constructors Constructor Description PropertyConfigurator()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
configure(String configFilename)
Deprecated.static void
configure(URL configURL)
Deprecated.static void
configure(Properties properties)
Deprecated.static void
configureAndWatch(String configFilename)
Deprecated.static void
configureAndWatch(String configFilename, long delay)
Deprecated.void
doConfigure(String configFileName, LoggerRepository hierarchy)
Deprecated.void
doConfigure(URL configURL, LoggerRepository hierarchy)
Deprecated.Interpret a resource pointed by a URL and set up log4j accordingly.void
doConfigure(Properties properties, LoggerRepository hierarchy)
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(Properties properties, LoggerRepository hierarchy)
Deprecated.
-
doConfigure
public void doConfigure(String configFileName, LoggerRepository hierarchy)
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 thehierarchy
parameter.- Specified by:
doConfigure
in interfaceConfigurator
- Parameters:
configURL
- The URL to parsehierarchy
- The hierarchy to operation upon.
-
-