[ 
https://issues.apache.org/jira/browse/KARAF-5192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16044418#comment-16044418
 ] 

Jean-Baptiste Onofré edited comment on KARAF-5192 at 6/16/17 1:08 PM:
----------------------------------------------------------------------

I will do two improvements:

1. The matcher should not be "equals" but regex matcher.
2. The ignored categories should be user editable.


was (Author: jbonofre):
I will do two improvements:

1. The matcher should not be "equals" but contains or starts with.
2. The ignored categories should be user editable.

> Decanter collector should be able to filter some loggers
> --------------------------------------------------------
>
>                 Key: KARAF-5192
>                 URL: https://issues.apache.org/jira/browse/KARAF-5192
>             Project: Karaf
>          Issue Type: Improvement
>          Components: decanter
>    Affects Versions: decanter-1.3.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: decanter-1.4.0
>
>
> When an appender (for instance elasticsearch or cassandra) can't send the 
> collected data to the backend (for instance due to network issue), and the 
> log collector is installed, we have an infinite loop: the appender throws an 
> exception (a simple {{LOG.warn()}}), trapped by the log collector which tries 
> to post the event,  creating the appender exception again, and so on.
> The Decanter appenders should set the {{inLogAppender}} MDC (filtered by the 
> log collector) to avoid this infinite loop.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to