- All Implemented Interfaces:
- ContextAware, LifeCycle
public class DebugUsersTurboFilter
extends ch.qos.logback.classic.turbo.TurboFilter
This class allows output of debug level events to a certain list of users.
If the level passed as a parameter is of level DEBUG, then the "user" value
taken from the MDC is checked against the configured user list. When the user
belongs to the list, the request is accepted. Otherwise a NEUTRAL response
is sent, thus not influencing the filter chain.
- Author:
- Ceki Gülcü, Sébastien Pennec