Class SimpleAccessLogger

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
winstone.accesslog.SimpleAccessLogger
All Implemented Interfaces:
org.eclipse.jetty.server.RequestLog, org.eclipse.jetty.util.component.LifeCycle

public class SimpleAccessLogger extends org.eclipse.jetty.util.component.AbstractLifeCycle implements org.eclipse.jetty.server.RequestLog
Simulates an apache "combined" style logger, which logs User-Agent, Referer, etc
Version:
$Id: SimpleAccessLogger.java,v 1.5 2006/03/24 17:24:19 rickknowles Exp $
Author:
Rick Knowles
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopException

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

    org.eclipse.jetty.util.component.LifeCycle.Listener

    Nested classes/interfaces inherited from interface org.eclipse.jetty.server.RequestLog

    org.eclipse.jetty.server.RequestLog.Collection, org.eclipse.jetty.server.RequestLog.Writer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    FAILED, STARTED, STARTING, STOPPED, STOPPING
  • Constructor Summary

    Constructors
    Constructor
    Description
    SimpleAccessLogger(String webAppName, Map<String,String> startupArgs)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    void
    log(org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response)
     

    Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    addEventListener, doStart, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • log

      public void log(org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response)
      Specified by:
      log in interface org.eclipse.jetty.server.RequestLog
    • doStop

      protected void doStop() throws Exception
      Overrides:
      doStop in class org.eclipse.jetty.util.component.AbstractLifeCycle
      Throws:
      Exception