简体   繁体   English

每个连接器的Kafka Connect日志

[英]Kafka Connect Logs per connector

I am Using Kafka rest proxy to start confluent connector's but having a problem in reading error in logs all logs written in connect.stdout file 我正在使用Kafka REST代理启动融合连接器,但在读取错误时遇到问题,所有写入connect.stdout文件的日志均出现错误
I need logs per connector in a seperate log file. 我需要在单独的日志文件中的每个连接器日志。

like JDBC-testTable-source.log, Cassandra-dump-sink.log so I can send it to end user 像JDBC-testTable-source.log,Cassandra-dump-sink.log这样,我可以将其发送给最终用户

I have tried to grep command to separate logs from connect.stdout file and log4j file for logging 我试图grep命令从connect.stdout文件和log4j文件中分离日志以进行日志记录

As of Apache Kafka 2.2 a worker logs everything to a single log file, with no indication per entry which connector it is from. 从Apache Kafka 2.2开始,一个工作程序将所有内容记录到一个日志文件中,但每个条目都没有指示它来自哪个连接器。

KIP-449 is due to be added in Apache Kafka 2.3 and will make it much easier to identify which log entry comes from which connector. KIP-449将在Apache Kafka 2.3中添加,这将使识别哪个日志条目来自哪个连接器变得更加容易。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM