Kafka Connect Logs

1,592 views
Skip to first unread message

Yeshwanth Kumar

unread,
Jul 4, 2017, 6:35:29 AM7/4/17
to Confluent Platform
Hello, 


Might just be a silly issue, but I am currently implementing my own cassandra source connector and the logs are really annoying. Its set in debug mode and not sure where to set it to INFO.

I am running it in distributed mode. I do have few log4j properties files, but I don't see a connect-distributed-log4j.properties file. 


Thanks,
Yesh

Robin Moffatt

unread,
Jul 4, 2017, 7:36:14 AM7/4/17
to confluent...@googlegroups.com
Have a look for connect-log4j.properties. I wrote some notes around this recently here: https://rmoff.net/2017/06/12/configuring-kafka-connect-to-log-rest-http-messages-to-a-separate-file/

--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/9b647d82-ce91-401a-9de0-2d83a5e96782%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yeshwanth Kumar

unread,
Jul 4, 2017, 7:48:51 AM7/4/17
to Confluent Platform
Great post. Yes, it does consider connect-log4j.properties file. But for some reason, it does not work(it is set to INFO). Is there some log4j settings I need to do in my connector?

It works fine if I use another connector. Both the connectors have got the same log4j.properties in them.



On Tuesday, July 4, 2017 at 12:36:14 PM UTC+1, Robin Moffatt wrote:
Have a look for connect-log4j.properties. I wrote some notes around this recently here: https://rmoff.net/2017/06/12/configuring-kafka-connect-to-log-rest-http-messages-to-a-separate-file/
On 4 July 2017 at 12:35, Yeshwanth Kumar <morph...@gmail.com> wrote:
Hello, 


Might just be a silly issue, but I am currently implementing my own cassandra source connector and the logs are really annoying. Its set in debug mode and not sure where to set it to INFO.

I am running it in distributed mode. I do have few log4j properties files, but I don't see a connect-distributed-log4j.properties file. 


Thanks,
Yesh

--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages