Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4915

Don't include "error" in log messages at non-error levels

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.10.1.1
    • None
    • logging
    • None

    Description

      Currently we see in logs:

      WARN Error while fetching metadata with correlation id 659455 : {kafka-connect-offsets=INVALID_REPLICATION_FACTOR} (org.apache.kafka.clients.NetworkClient:600)
      

      Expected:

      WARN unable to fetch metadata with correlation id 659455 : {kafka-connect-offsets=INVALID_REPLICATION_FACTOR} (org.apache.kafka.clients.NetworkClient:600)
      

      or

      ERROR unable to fetch metadata with correlation id 659455 : {kafka-connect-offsets=INVALID_REPLICATION_FACTOR} (org.apache.kafka.clients.NetworkClient:600)
      

      See for reference: https://github.com/apache/kafka/blob/65650ba4dcba8a9729cb9cb6477a62a7b7c3714e/clients/src/main/java/org/apache/kafka/clients/NetworkClient.java#L723

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dernasherbrezon Andrey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: