Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.enhydra.servlet.filter
Class StandardLoggingFilter  view StandardLoggingFilter download StandardLoggingFilter.java

java.lang.Object
  extended byorg.enhydra.servlet.filter.Filter
      extended byorg.enhydra.servlet.filter.MultiServerFilter
          extended byorg.enhydra.servlet.filter.StandardLoggingFilter

public class StandardLoggingFilter
extends MultiServerFilter

This is the standard logging filter that is used with the MultiServer. It uses the standard logging facility to log the basic information about each request and response. The text is written to the MultiServer facility, at the REQUEST level.


Field Summary
private  com.lutris.logging.LogChannel logChannel
           
private  java.lang.String logFile
           
private  int logLevel
           
protected static long transactionId
           
 
Fields inherited from class org.enhydra.servlet.filter.Filter
 
Constructor Summary
StandardLoggingFilter(java.lang.String description, com.lutris.util.KeywordValueTable initArgs)
          Create a new filter.
 
Method Summary
 ResponseFilter wrapResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Get the ResponseFilter for this Filter by wrapping the given Response.
 
Methods inherited from class org.enhydra.servlet.filter.Filter
getDescription, getDestroyInterceptor, getInitInterceptor, getServiceInterceptor, registerInterceptors, setDescription, setDestroyInterceptor, setInitInterceptor, setServiceInterceptor, toString, unregisterInterceptors, wrapRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logChannel

private com.lutris.logging.LogChannel logChannel

logLevel

private int logLevel

logFile

private java.lang.String logFile

transactionId

protected static long transactionId
Constructor Detail

StandardLoggingFilter

public StandardLoggingFilter(java.lang.String description,
                             com.lutris.util.KeywordValueTable initArgs)
                      throws com.lutris.util.KeywordValueException
Create a new filter. This filter does not use any initial arguments.

Method Detail

wrapResponse

public ResponseFilter wrapResponse(javax.servlet.http.HttpServletRequest request,
                                   javax.servlet.http.HttpServletResponse response)
Description copied from class: Filter
Get the ResponseFilter for this Filter by wrapping the given Response.

Specified by:
wrapResponse in class Filter