Subscribe to RSS feed  Follow @jackvamvas - Twitter

*Use the Comments section for questions Links



How to create a log trace and send to file in Kafka

29 May,2019 by Rambler

Question: How can I create a trace log file in Kafka  ?  I want to set the logger level to TRACE  , sending the trace details to a file.


Answer: To change from the current Kafka Connect logging level to the TRACE , you'll need to edit the and restart Connect 

edit -  $(confluent_home)/etc/kafka/

log4j.rootLogger=TRACE, traceFile, stdout

log4j.appender.traceFile.layout.ConversionPattern=[%d] %p %m (%c)%n

You'll need to restart Connect for the changes to take effect 

Author: Rambler (


Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.


Post a comment on How to create a log trace and send to file in Kafka