Class Slf4jRequestLog

  • All Implemented Interfaces:
    RequestLog, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.LifeCycle

    @Deprecated
    @ManagedObject("NCSA standard format request log to slf4j bridge")
    public class Slf4jRequestLog
    extends AbstractNCSARequestLog
    Implementation of NCSARequestLog where output is sent as a SLF4J INFO Log message on the named logger "org.eclipse.jetty.server.RequestLog"
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container

        org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

        org.eclipse.jetty.util.component.LifeCycle.Listener
    • Field Summary

      • Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
      • Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

        KEY
    • Constructor Detail

      • Slf4jRequestLog

        public Slf4jRequestLog()
        Deprecated.
    • Method Detail

      • setLoggerName

        public void setLoggerName​(java.lang.String loggerName)
        Deprecated.
      • getLoggerName

        public java.lang.String getLoggerName()
        Deprecated.
      • write

        public void write​(java.lang.String requestEntry)
                   throws java.io.IOException
        Deprecated.
        Description copied from class: AbstractNCSARequestLog
        Write requestEntry out. (to disk or slf4j log)
        Overrides:
        write in class AbstractNCSARequestLog
        Parameters:
        requestEntry - the request entry
        Throws:
        java.io.IOException - if unable to write the entry