Package com.yahoo.container.logging
Class JSONAccessLog
- java.lang.Object
-
- com.yahoo.component.AbstractComponent
-
- com.yahoo.container.logging.JSONAccessLog
-
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,RequestLogHandler
,Comparable<com.yahoo.component.Component>
public final class JSONAccessLog extends com.yahoo.component.AbstractComponent implements RequestLogHandler
Log a message in Vespa JSON access log format.- Author:
- frodelu, Tony Vaagenes
-
-
Constructor Summary
Constructors Constructor Description JSONAccessLog(AccessLogConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deconstruct()
void
log(RequestLogEntry entry)
-
-
-
Constructor Detail
-
JSONAccessLog
public JSONAccessLog(AccessLogConfig config)
-
-
Method Detail
-
log
public void log(RequestLogEntry entry)
- Specified by:
log
in interfaceRequestLogHandler
-
deconstruct
public void deconstruct()
- Specified by:
deconstruct
in interfacecom.yahoo.component.Deconstructable
- Overrides:
deconstruct
in classcom.yahoo.component.AbstractComponent
-
-