# How can I enable debug logging on stream-reactor connectors?

**URL:** <https://ask.lenses.io/t/how-can-i-enable-debug-logging-on-stream-reactor-connectors/342>\
**Category:** Apache Kafka Connectors\
**Created:** [March 18, 2025, 1:50pm UTC](https://ask.lenses.io/t/how-can-i-enable-debug-logging-on-stream-reactor-connectors/342 "2025-03-18T13:50:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidsloan](https://dub1.discourse-cdn.com/flex017/user_avatar/ask.lenses.io/davidsloan/32/52_2.png) [@davidsloan](https://ask.lenses.io/u/davidsloan)\
**Post date:** [March 18, 2025, 1:50pm UTC](https://ask.lenses.io/t/how-can-i-enable-debug-logging-on-stream-reactor-connectors/342/1 "2025-03-18T13:50:45Z")

</div>

I would like to enable debug-level logging for Stream Reactor connectors in order to capture detailed execution details, including request processing, transformations, and interactions with external systems such as Kafka and target data stores, to troubleshoot issues and gain deeper insights into connector behavior.

---

<div class="post-metadata">

**Author:** ![davidsloan](https://dub1.discourse-cdn.com/flex017/user_avatar/ask.lenses.io/davidsloan/32/52_2.png) [@davidsloan](https://ask.lenses.io/u/davidsloan)\
**Post date:** [March 18, 2025, 1:54pm UTC](https://ask.lenses.io/t/how-can-i-enable-debug-logging-on-stream-reactor-connectors/342/2 "2025-03-18T13:54:41Z")

</div>

Our connectors contain extra verbose logging that can be switched on via the REST API. The different log levels we generally use are DEBUG, INFO and ERROR, with occasional detailed information attached to the TRACE logger.

For Kafka Connect 2.5 and later it is possible to change log levels dynamically by sending a REST request to Kafka’s admin/logger API. Changes are effective immediately without a restart:

```auto
curl -X PUT "http://localhost:8083/admin/loggers/io.lenses.streamreactor" -H "Content-Type: application/json" -d '{ "level": "DEBUG" }'

```
