karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4315) Kafka ProducerConfig logs in INFO, causing infinite loop when using the log collector
Date Tue, 01 Mar 2016 15:26:18 GMT

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

Christian Schneider commented on KARAF-4315:
--------------------------------------------

I think the situation is even worse .. if an admin sets log level to debug we have a lot more
components doing the same.
So we should somehow ignore logs that are created while decanter processes a messages .. maybe
using an MDC value?

> Kafka ProducerConfig logs in INFO, causing infinite loop when using the log collector
> -------------------------------------------------------------------------------------
>
>                 Key: KARAF-4315
>                 URL: https://issues.apache.org/jira/browse/KARAF-4315
>             Project: Karaf
>          Issue Type: Improvement
>          Components: decanter
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: decanter-1.1.0
>
>
> The Decanter Kafka Appender uses KafkaProducer, which uses ProducerConfig behind the
hood. The Kafka ProducerConfig logs a message (for each message sent by the producer) containing
the current configuration in use.
> Used in conjunction with the log collector, it causes an infinite loop.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message