org.apache.cocoon.util.log
Class Log4JConfigurator

java.lang.Object
  extended by org.apache.log4j.xml.DOMConfigurator
      extended by org.apache.cocoon.util.log.Log4JConfigurator
All Implemented Interfaces:
Configurator

Deprecated. This class is in the latest Excalibur version and therefore will be removed in 2.2.

public class Log4JConfigurator
extends DOMConfigurator

This is a configurator for log4j that supports variable substitution

Since:
2.1.6
Version:
CVS $Id: Log4JConfigurator.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Field Summary
protected  Context context
          Deprecated.  
 
Fields inherited from interface org.apache.log4j.spi.Configurator
INHERITED, NULL
 
Constructor Summary
Log4JConfigurator(Context context)
          Deprecated.  
 
Method Summary
 String getSystemProperty(String key)
          Deprecated. This is directly copied from log4j's OptionConverter class.
protected  String subst(String value)
          Deprecated.  
 String substVars(String val)
          Deprecated. 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, parseErrorHandler, parseFilters, parseLayout, parseLevel, parseRenderer, parseRoot, setParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected Context context
Deprecated. 
Constructor Detail

Log4JConfigurator

public Log4JConfigurator(Context context)
Deprecated. 
Method Detail

subst

protected String subst(String value)
Deprecated. 
Overrides:
subst in class DOMConfigurator

substVars

public String substVars(String val)
                 throws IllegalArgumentException
Deprecated. 
This is directly copied from log4j's OptionConverter class. The only difference is the getting of a property.

Throws:
IllegalArgumentException

getSystemProperty

public String getSystemProperty(String key)
Deprecated. 
This is directly copied from log4j's OptionConverter class. The only difference is the getting of a property.



Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.