Class LogbackAccessRequestLayout

java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.LayoutBase<E>
ch.qos.logback.core.pattern.PatternLayoutBase<ch.qos.logback.access.spi.IAccessEvent>
ch.qos.logback.access.PatternLayout
io.dropwizard.request.logging.layout.LogbackAccessRequestLayout
All Implemented Interfaces:
ch.qos.logback.core.Layout<ch.qos.logback.access.spi.IAccessEvent>, ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.LifeCycle

public class LogbackAccessRequestLayout extends ch.qos.logback.access.PatternLayout
A base layout for Logback Access request logs.
  • Extends PatternLayout.
  • Disables pattern headers.
  • Sets the pattern to the given timezone.
  • Field Summary

    Fields inherited from class ch.qos.logback.access.PatternLayout

    CLF_PATTERN, CLF_PATTERN_NAME, CLF_PATTERN_NAME_2, COMBINED_PATTERN, COMBINED_PATTERN_NAME, defaultConverterMap, HEADER_PREFIX

    Fields inherited from class ch.qos.logback.core.pattern.PatternLayoutBase

    outputPatternAsHeader, postCompileProcessor

    Fields inherited from class ch.qos.logback.core.LayoutBase

    started

    Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase

    context
  • Constructor Summary

    Constructors
    Constructor
    Description
    LogbackAccessRequestLayout(ch.qos.logback.core.Context context, TimeZone timeZone)
     
  • Method Summary

    Methods inherited from class ch.qos.logback.access.PatternLayout

    doLayout, getDefaultConverterMap, getPresentationHeaderPrefix, start

    Methods inherited from class ch.qos.logback.core.pattern.PatternLayoutBase

    getEffectiveConverterMap, getInstanceConverterMap, getPattern, getPresentationHeader, isOutputPatternAsHeader, setContextForConverters, setOutputPatternAsHeader, setPattern, setPostCompileProcessor, toString, writeLoopOnConverters

    Methods inherited from class ch.qos.logback.core.LayoutBase

    getContentType, getContext, getFileFooter, getFileHeader, getPresentationFooter, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, stop

    Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getDeclaredOrigin, getStatusManager

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface ch.qos.logback.core.spi.ContextAware

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn
  • Constructor Details

    • LogbackAccessRequestLayout

      public LogbackAccessRequestLayout(ch.qos.logback.core.Context context, TimeZone timeZone)