[ https://issues.apache.org/jira/browse/KAFKA-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Balashov updated KAFKA-2093: --------------------------------- Summary: Remove logging error if we throw exception (was: Reduce noise in Kafka logs) > Remove logging error if we throw exception > ------------------------------------------ > > Key: KAFKA-2093 > URL: https://issues.apache.org/jira/browse/KAFKA-2093 > Project: Kafka > Issue Type: Improvement > Reporter: Ivan Balashov > Priority: Trivial > > On failure, kafka producer logs error AND throws exception. This can pose > problems, since client application cannot flexibly control if a particular > exception should be logged, and logging becomes all-or-nothing choice for > particular logger. > We must remove logging error if we decide to throw exception. > Some examples of this: > kafka.client.ClientUtils$:89 > kafka.producer.SyncProducer:103 > If no one has objections, I can search around for other cases of logging + > throwing which should also be fixed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)