Apache Kafka — JSON format for broker logs
This Story shows how to develop a Log4j JSON layout and configure Apache Kafka to create log messages in JSON format. As of the writing of this story Apache Kafka (v0.11.0) uses Log4j 1.2 for logging which has no native support for JSON log messages.