Class ProfilingLogbackFilter

java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.filter.Filter<ch.qos.logback.classic.spi.ILoggingEvent>
com.evolveum.midpoint.util.logging.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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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

    Methods inherited from class java.lang.Object

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

    • ProfilingLogbackFilter

      public ProfilingLogbackFilter()
  • Method Details

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