Class ProfilingLogbackFilter

  • All Implemented Interfaces:
    ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.LifeCycle

    public class ProfilingLogbackFilter
    extends ch.qos.logback.core.filter.Filter<ch.qos.logback.classic.spi.ILoggingEvent>
    This filter provides functionality to profiling loggers to act as they don't inherit rootAppender, thus forwarding profiling and performance logs only into MIDPOINT_PROFILE_LOG. (we don't want them in MIDPOINT_LOG)
    Author:
    shood
    • Field Summary

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

        context
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ch.qos.logback.core.spi.FilterReply decide​(ch.qos.logback.classic.spi.ILoggingEvent event)  
      • Methods inherited from class ch.qos.logback.core.filter.Filter

        getName, isStarted, setName, start, stop
      • Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase

        addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
    • Constructor Detail

      • ProfilingLogbackFilter

        public ProfilingLogbackFilter()
    • Method Detail

      • decide

        public ch.qos.logback.core.spi.FilterReply decide​(ch.qos.logback.classic.spi.ILoggingEvent event)
        Specified by:
        decide in class ch.qos.logback.core.filter.Filter<ch.qos.logback.classic.spi.ILoggingEvent>