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

KafkaLog4jAppender - not sending any message with level DEBUG

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.10.2.0
    • Fix Version/s: None
    • Component/s: log
    • Labels:
      None

      Description

      KafkaLog4jAppender can be stuck if it is defined at root category with level DEBUG

      log4j.rootLogger=DEBUG, kafka

      log4j.appender.kafka=org.apache.kafka.log4jappender.KafkaLog4jAppender

      DEBUG org.apache.kafka.clients.producer.KafkaProducer:131 - Exception occurred during message send:

      org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.

      KafkaLog4jAppender is using a KafkaProducer using itself Log4j with messages at levels TRACE and DEBUG. The appender used in this case is also the KafkaLog4jAppender.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vlebreil Vincent Lebreil
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: