You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 27, 2022. It is now read-only.
I have two different appenders that filter based on markers.
Both should only append logs with my 'AUDIT' marker. Although if the filter is exactly the same in both appenders, it works for the console appender, but not for the Kafka appender. In Kafka, no messages appear (but if I remove the filter, they show up).
I managed also to exclude all my AUDIT logs like that: <filter class="ch.qos.logback.core.filter.EvaluatorFilter"> <evaluator class="ch.qos.logback.classic.boolex.OnMarkerEvaluator"> <marker>AUDIT</marker> </evaluator> <onMatch>DENY</onMatch> </filter>
This works, but it is the opposite of what I need ;)
Can you tell my why my filter is not working?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I have two different appenders that filter based on markers.
Both should only append logs with my 'AUDIT' marker. Although if the filter is exactly the same in both appenders, it works for the console appender, but not for the Kafka appender. In Kafka, no messages appear (but if I remove the filter, they show up).
I managed also to exclude all my AUDIT logs like that:
<filter class="ch.qos.logback.core.filter.EvaluatorFilter"> <evaluator class="ch.qos.logback.classic.boolex.OnMarkerEvaluator"> <marker>AUDIT</marker> </evaluator> <onMatch>DENY</onMatch> </filter>
This works, but it is the opposite of what I need ;)
Can you tell my why my filter is not working?
The text was updated successfully, but these errors were encountered: