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

KafkaLog4jAppender - not sending any message with level DEBUG

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.10.2.0
    • None
    • log
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: