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
  • Field Summary

    Fields inherited from class com.yahoo.component.AbstractComponent

    isDeconstructable
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     

    Methods inherited from class com.yahoo.component.AbstractComponent

    clone, compareTo, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • log

      public void log(RequestLogEntry entry)
      Specified by:
      log in interface RequestLogHandler
    • deconstruct

      public void deconstruct()
      Specified by:
      deconstruct in interface com.yahoo.component.Deconstructable
      Overrides:
      deconstruct in class com.yahoo.component.AbstractComponent