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

Review the NetworkClient log level used

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.0.0
    • clients
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: