org.apache.jetspeed.webapp.logging
Class Log4JConfigurator

java.lang.Object
  extended by org.apache.jetspeed.webapp.logging.Log4JConfigurator
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public class Log4JConfigurator
extends java.lang.Object
implements javax.servlet.ServletContextListener


Field Summary
static java.lang.String LOG4J_CONFIG_FILE
          The optional web.xml context parameter name for the Log4J Config File (location).
static java.lang.String LOG4J_CONFIG_FILE_DEFAULT
          The default value for the Log4J Config File (location)
static java.lang.String LOG4J_CONFIG_WEB_APPLICATION_ROOT_KEY
          The optional web.xml context parameter name for the Log4J Config webApplicationRoot (property)
static java.lang.String LOG4J_CONFIG_WEB_APPLICATION_ROOT_KEY_DEFAULT
          The default value for the Log4J Config webApplicationRoot (property)
 
Constructor Summary
Log4JConfigurator()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent event)
           
 void contextInitialized(javax.servlet.ServletContextEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG4J_CONFIG_FILE

public static final java.lang.String LOG4J_CONFIG_FILE
The optional web.xml context parameter name for the Log4J Config File (location). The specified location is interpreted as begin (webapp) context relative.

See Also:
Constant Field Values

LOG4J_CONFIG_FILE_DEFAULT

public static final java.lang.String LOG4J_CONFIG_FILE_DEFAULT
The default value for the Log4J Config File (location)

See Also:
Constant Field Values

LOG4J_CONFIG_WEB_APPLICATION_ROOT_KEY

public static final java.lang.String LOG4J_CONFIG_WEB_APPLICATION_ROOT_KEY
The optional web.xml context parameter name for the Log4J Config webApplicationRoot (property)

See Also:
Constant Field Values

LOG4J_CONFIG_WEB_APPLICATION_ROOT_KEY_DEFAULT

public static final java.lang.String LOG4J_CONFIG_WEB_APPLICATION_ROOT_KEY_DEFAULT
The default value for the Log4J Config webApplicationRoot (property)

See Also:
Constant Field Values
Constructor Detail

Log4JConfigurator

public Log4JConfigurator()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent event)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent event)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener


Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.