public class Slf4jRequestLog extends AbstractNCSARequestLog
LOG| Constructor and Description |
|---|
Slf4jRequestLog() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart()
Set up request logging and open log file.
|
java.lang.String |
getLoggerName() |
protected boolean |
isEnabled()
Is logging enabled
|
void |
setLoggerName(java.lang.String loggerName) |
void |
write(java.lang.String requestEntry)
Write requestEntry out.
|
doStop, getAuthentication, getIgnorePaths, getLogCookies, getLogDateFormat, getLogLatency, getLogLocale, getLogServer, getLogTimeZone, getPreferProxiedForAddress, isExtended, isLogDispatch, log, logExtended, setExtended, setIgnorePaths, setLogCookies, setLogDateFormat, setLogDispatch, setLogLatency, setLogLocale, setLogServer, setLogTimeZone, setPreferProxiedForAddresspublic void setLoggerName(java.lang.String loggerName)
public java.lang.String getLoggerName()
protected boolean isEnabled()
AbstractNCSARequestLogisEnabled in class AbstractNCSARequestLogpublic void write(java.lang.String requestEntry)
throws java.io.IOException
AbstractNCSARequestLogwrite in class AbstractNCSARequestLogrequestEntry - the request entryjava.io.IOException - if unable to write the entryprotected void doStart()
throws java.lang.Exception
AbstractNCSARequestLogdoStart in class AbstractNCSARequestLogjava.lang.Exceptionorg.eclipse.jetty.util.component.AbstractLifeCycle#doStart()