0

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
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

I have tried to grep command to separate logs from connect.stdout file and log4j file for logging

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
  • 1
    Possible duplicate of [Kafka Connect Logging](https://stackoverflow.com/questions/52200664/kafka-connect-logging) – Giorgos Myrianthous May 31 '19 at 23:44
  • Confluent Rest Proxy doesn't interact with Connect... I think you're confusing just the standard Connect's REST API, which has nothing to do with Confluent – OneCricketeer Jun 01 '19 at 05:41

1 Answers1

2

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.

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.

Robin Moffatt
  • 30,382
  • 3
  • 65
  • 92