You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ewen Cheslack-Postava (JIRA)" <ji...@apache.org> on 2017/07/21 06:02:00 UTC

[jira] [Commented] (KAFKA-4915) Make logging consistent

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

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

[~dernasherbrezon] Can you clarify the problem? Is the issue that there's an extra newline in the log somehow that is causing the info about the source of the error to be on a different line?

> 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)