conduktor.io ↗

KIP-521 — Enable redirection of Connect's log4j messages to a file by default

Accepted Kafka 2.4 Connect

Changes Kafka Connect's default log4j configuration to write worker logs to a file (`connect.log`) in addition to stdout, mirroring the behavior of Kafka broker and ZooKeeper startup scripts. By default, Connect logs only to stdout, meaning logs are lost unless the process is managed by a supervisor that captures stdout, and log rotation is unavailable without manual log4j reconfiguration.

Details

AuthorKonstantine Karantasis
StatusAccepted
Kafka Version2.4
JIRAKAFKA-5609
WikiView on Apache Wiki
Created2019-09-10
Last Modified2019-10-02
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.