public interface

Configurator

org.apache.log4j.spi.Configurator
Known Indirect Subclasses

Class Overview

Implemented by classes capable of configuring log4j using a URL.

Summary

Constants
String INHERITED Special level value signifying inherited behaviour.
String NULL Special level signifying inherited behaviour, same as INHERITED.
Public Methods
abstract void doConfigure(URL url, LoggerRepository repository)
Interpret a resource pointed by a URL and set up log4j accordingly.

Constants

public static final String INHERITED

Special level value signifying inherited behaviour. The current value of this string constant is inherited. NULL is a synonym.

Constant Value: "inherited"

public static final String NULL

Special level signifying inherited behaviour, same as INHERITED. The current value of this string constant is null.

Constant Value: "null"

Public Methods

public abstract void doConfigure (URL url, LoggerRepository repository)

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.