Package winstone.accesslog
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
FieldsFields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
FAILED, STARTED, STARTING, STOPPED, STOPPING
-
Constructor Summary
Constructors -
Method Summary
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
-
Field Details
-
ACCESSLOG_RESOURCES
-
-
Constructor Details
-
SimpleAccessLogger
- Throws:
IOException
-
-
Method Details
-
log
public void log(org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response) - Specified by:
log
in interfaceorg.eclipse.jetty.server.RequestLog
-
doStop
- Overrides:
doStop
in classorg.eclipse.jetty.util.component.AbstractLifeCycle
- Throws:
Exception
-