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

Ewen Cheslack-Postava commented on KAFKA-4915:
----------------------------------------------

[~dernasherbrezon] No, this is actually great, I just wasn't seeing it! Unless 
you have structured logging output that makes it easy to filter this stuff, 
messages like that can definitely be annoying noise.

I just did a quick grep for possible similar issues:

{code}
git grep log[.][^e] | grep -i error
{code}

and although some of the results are false positives, there are quite a few 
warn and debug level messages that contain the word error. A broader patch to 
clean these up would be great. Any interest in submitting a PR? I'd be happy to 
get it committed.

> Make logging consistent
> -----------------------
>
>                 Key: KAFKA-4915
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4915
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.10.1.1
>            Reporter: Andrey
>
> Currently we see in logs:
> {code}
> WARN Error while fetching metadata with correlation id 659455 : 
> {kafka-connect-offsets=INVALID_REPLICATION_FACTOR} 
> (org.apache.kafka.clients.NetworkClient:600)
> {code}
> Expected:
> {code}
> WARN unable to fetch metadata with correlation id 659455 : 
> {kafka-connect-offsets=INVALID_REPLICATION_FACTOR} 
> (org.apache.kafka.clients.NetworkClient:600)
> {code}
> or
> {code}
> ERROR unable to fetch metadata with correlation id 659455 : 
> {kafka-connect-offsets=INVALID_REPLICATION_FACTOR} 
> (org.apache.kafka.clients.NetworkClient:600)
> {code}
> See for reference: 
> https://github.com/apache/kafka/blob/65650ba4dcba8a9729cb9cb6477a62a7b7c3714e/clients/src/main/java/org/apache/kafka/clients/NetworkClient.java#L723



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

Reply via email to