Class Slf4jRequestLogWriter

    • Constructor Detail

      • Slf4jRequestLogWriter

        public Slf4jRequestLogWriter()
    • Method Detail

      • setLoggerName

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

        @ManagedAttribute("logger name")
        public java.lang.String getLoggerName()
      • isEnabled

        protected boolean isEnabled()
      • write

        public void write​(java.lang.String requestEntry)
                   throws java.io.IOException
        Specified by:
        write in interface RequestLog.Writer
        Throws:
        java.io.IOException
      • doStart

        protected void doStart()
                        throws java.lang.Exception
        Description copied from class: AbstractLifeCycle
        Method to override to start the lifecycle
        Overrides:
        doStart in class AbstractLifeCycle
        Throws:
        AbstractLifeCycle.StopException - If thrown, the lifecycle will immediately be stopped.
        java.lang.Exception - If there was a problem starting. Will cause a transition to FAILED state