net.wgen.op.system
Class Log4JInitializerServlet
java.lang.Object
javax.servlet.GenericServlet
net.wgen.op.system.Log4JInitializerServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class Log4JInitializerServlet
- extends javax.servlet.GenericServlet
Initialization servlet for logging. The WebAppStats and Snapshot classes rely on Log4J to work,
as does the TraceLogger.
- Version:
- $Id: Log4JInitializerServlet.html,v 1.2 2007/01/28 04:09:37 paulfeuer Exp $
- Author:
- Paul Feuer, Wireless Generation, Inc.
- See Also:
- Serialized Form
| Fields inherited from class javax.servlet.GenericServlet |
|
|
Method Summary |
void |
init(javax.servlet.ServletConfig config)
Initialize the Log4J Framework with some xml file as specified in the "log4j-init-file"
init-parameter. |
void |
service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Do-nothing service as this Servlet is for Log initialization only. |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Log4JInitializerServlet
public Log4JInitializerServlet()
init
public void init(javax.servlet.ServletConfig config)
- Initialize the Log4J Framework with some xml file as specified in the "log4j-init-file"
init-parameter.
- Parameters:
config -
service
public void service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Do-nothing service as this Servlet is for Log initialization only.
- Parameters:
request - response -
- Throws:
javax.servlet.ServletException
java.io.IOException