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

Review the NetworkClient log level used

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: clients
    • Labels:
      None

      Description

      Hi,

       

      I was using Kafka on some projects and unfortunately I had to use Debug (and some times even Trace) log level to see some issues. One of the most recently cases was: 

      https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/NetworkClient.java#L872

       

      If I got the name of the broker and it is unreachable, the errors should be more severe than "DEBUG" level IMHO. I would at least put a INFO level for this case or ERROR level (which seems to fit better but I don't know the practices used in the project).

       

      Thank you in advance

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                enether Stanislav Kozlovski
                Reporter:
                lcestari Luan Cestari
                Reviewer:
                Rajini Sivaram
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: