Interface Configurator

All Known Implementing Classes:
DOMConfigurator, PropertyConfigurator

@Deprecated(since="2022-01-27") public interface Configurator
Deprecated.
Apache Log4j 1 has reached end of life in 2015 and is no longer supported.
Implemented by classes capable of configuring log4j using a URL.
Since:
1.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated.
    Special level value signifying inherited behaviour.
    static final String
    Deprecated.
    Special level signifying inherited behaviour, same as INHERITED.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doConfigure(URL url, LoggerRepository repository)
    Deprecated.
    Interpret a resource pointed by a URL and set up log4j accordingly.
  • Field Details

    • INHERITED

      static final String INHERITED
      Deprecated.
      Special level value signifying inherited behaviour. The current value of this string constant is inherited. NULL is a synonym.
      See Also:
    • NULL

      static final String NULL
      Deprecated.
      Special level signifying inherited behaviour, same as INHERITED. The current value of this string constant is null.
      See Also:
  • Method Details

    • doConfigure

      void doConfigure(URL url, LoggerRepository repository)
      Deprecated.
      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
      repository - The hierarchy to operation upon.