com.nesscomputing.httpserver.log.file
Class FileRequestLog
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
com.nesscomputing.httpserver.log.file.FileRequestLog
- All Implemented Interfaces:
- org.eclipse.jetty.server.RequestLog, org.eclipse.jetty.util.component.LifeCycle
public class FileRequestLog
- extends org.eclipse.jetty.util.component.AbstractLifeCycle
- implements org.eclipse.jetty.server.RequestLog
A simple non-rolling access log writer, which writes out to a tab separated file.
In general, this will be configured via a HttpServerConfig.
| Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener |
| Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle |
org.eclipse.jetty.util.component.LifeCycle.Listener |
| Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING |
|
Method Summary |
void |
doStart()
|
void |
doStop()
|
void |
log(org.eclipse.jetty.server.Request request,
org.eclipse.jetty.server.Response response)
|
| Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle |
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
FileRequestLog
@Inject
public FileRequestLog(FileRequestLogConfig requestLogConfig,
Map<String,LogFields.LogField> knownFields)
doStart
public void doStart()
- Overrides:
doStart in class org.eclipse.jetty.util.component.AbstractLifeCycle
doStop
public void doStop()
- Overrides:
doStop in class org.eclipse.jetty.util.component.AbstractLifeCycle
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
Copyright © 2012 Ness Computing, Inc.. All Rights Reserved.