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
| Author | Konstantine Karantasis |
| Status | Accepted |
| Kafka Version | 2.4 |
| JIRA | KAFKA-5609 |
| Wiki | View on Apache Wiki |
| Created | 2019-09-10 |
| Last Modified | 2019-10-02 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.