|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.xml.DOMConfigurator
org.apache.avalon.excalibur.logger.log4j.Log4JConfigurator
public class Log4JConfigurator
This is a configurator for log4j that supports variable substitution
Field Summary | |
---|---|
protected org.apache.avalon.framework.context.Context |
context
|
(package private) static java.lang.String |
DELIM_START
|
(package private) static int |
DELIM_START_LEN
|
(package private) static char |
DELIM_STOP
|
(package private) static int |
DELIM_STOP_LEN
|
Fields inherited from class org.apache.log4j.xml.DOMConfigurator |
---|
catFactory |
Fields inherited from interface org.apache.log4j.spi.Configurator |
---|
INHERITED, NULL |
Constructor Summary | |
---|---|
Log4JConfigurator(org.apache.avalon.framework.context.Context context)
|
Method Summary | |
---|---|
java.lang.String |
getSystemProperty(java.lang.String key)
This is directly copied from log4j's OptionConverter class. |
protected java.lang.String |
subst(java.lang.String value)
|
java.lang.String |
substVars(java.lang.String val)
This is directly copied from log4j's OptionConverter class. |
Methods inherited from class org.apache.log4j.xml.DOMConfigurator |
---|
configure, configure, configure, configureAndWatch, configureAndWatch, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, findAppenderByName, findAppenderByReference, parse, parseAppender, parseCategory, parseCategoryFactory, parseChildrenOfLoggerElement, parseElement, parseErrorHandler, parseFilters, parseLayout, parseLevel, parseRenderer, parseRoot, setParameter, setParameter, subst |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.avalon.framework.context.Context context
static java.lang.String DELIM_START
static char DELIM_STOP
static int DELIM_START_LEN
static int DELIM_STOP_LEN
Constructor Detail |
---|
public Log4JConfigurator(org.apache.avalon.framework.context.Context context)
Method Detail |
---|
protected java.lang.String subst(java.lang.String value)
subst
in class org.apache.log4j.xml.DOMConfigurator
public java.lang.String substVars(java.lang.String val) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public java.lang.String getSystemProperty(java.lang.String key)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |