Package com.yahoo.container.logging
Class VespaAccessLog
- java.lang.Object
-
- com.yahoo.component.AbstractComponent
-
- com.yahoo.container.logging.VespaAccessLog
-
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,RequestLogHandler
,java.lang.Comparable<com.yahoo.component.Component>
public final class VespaAccessLog extends com.yahoo.component.AbstractComponent implements RequestLogHandler
- Author:
- Bjorn Borud, Oyvind Bakksjo
-
-
Constructor Summary
Constructors Constructor Description VespaAccessLog(AccessLogConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deconstruct()
void
log(RequestLogEntry entry)
void
write(RequestLogEntry entry, java.io.OutputStream outputStream)
-
-
-
Constructor Detail
-
VespaAccessLog
public VespaAccessLog(AccessLogConfig config)
-
-
Method Detail
-
deconstruct
public void deconstruct()
- Specified by:
deconstruct
in interfacecom.yahoo.component.Deconstructable
- Overrides:
deconstruct
in classcom.yahoo.component.AbstractComponent
-
log
public void log(RequestLogEntry entry)
- Specified by:
log
in interfaceRequestLogHandler
-
write
public void write(RequestLogEntry entry, java.io.OutputStream outputStream) throws java.io.IOException
- Throws:
java.io.IOException
-
-