# View internal Kafka Connect records?

**URL:** <https://forum.confluent.io/t/view-internal-kafka-connect-records/217>\
**Category:** Managed Connectors\
**Created:** [19 November 2020 16:56 UTC](https://forum.confluent.io/t/view-internal-kafka-connect-records/217 "2020-11-19T16:56:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsch](https://avatars.discourse-cdn.com/v4/letter/d/77aa72/32.png) [@dsch](https://forum.confluent.io/u/dsch)\
**Post date:** [19 November 2020 16:56 UTC](https://forum.confluent.io/t/view-internal-kafka-connect-records/217/1 "2020-11-19T16:56:51Z")

</div>

Is there a way to see the values in Kafka Connect that are read from a source before they are written to Kafka broker?

---

<div class="post-metadata">

**Author:** ![rmoff](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/rmoff/32/3_2.png) [@rmoff](https://forum.confluent.io/u/rmoff)\
**Post date:** [19 November 2020 17:37 UTC](https://forum.confluent.io/t/view-internal-kafka-connect-records/217/2 "2020-11-19T17:37:14Z")

</div>

You can do this using Kafka Connect logs if you’re using any Single Message Transform. Using this [Docker Compose](https://github.com/confluentinc/demo-scene/tree/master/kafka-connect-zero-to-hero) let me show you how:

1. Create a connector - in this case I’m using Debezium pulling data from MySQL.

2. Set the `TransformationChain` logger to `TRACE`

3. Open the Kafka Connect worker log file - since I’m using Docker I run `docker logs -f kafka-connect` (the name of my container is `kafka-connect`).

4. Insert a row in the source database so that Kafka Connect will pick it up and log it

5. In the log file, observe the two `TRACE` entries which show

---

<div class="post-metadata">

**Author:** ![rmoff](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/rmoff/32/3_2.png) [@rmoff](https://forum.confluent.io/u/rmoff)\
**Post date:** [9 February 2021 13:29 UTC](https://forum.confluent.io/t/view-internal-kafka-connect-records/217/3 "2021-02-09T13:29:15Z")

</div>

Closed on 9 February 2021 13:29 UTC


