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
-
-
Field Summary
Fields Modifier and Type Field Description static WinstoneResourceBundle
ACCESSLOG_RESOURCES
-
Constructor Summary
Constructors Constructor Description SimpleAccessLogger(String webAppName, Map<String,String> startupArgs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doStop()
void
log(org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response)
-
-
-
Field Detail
-
ACCESSLOG_RESOURCES
public static final WinstoneResourceBundle ACCESSLOG_RESOURCES
-
-
Constructor Detail
-
SimpleAccessLogger
public SimpleAccessLogger(String webAppName, Map<String,String> startupArgs) throws IOException
- Throws:
IOException
-
-