How to generate a more detailed log?

Hello. I want to know if it’s possible to generate a log with more details in Lenses to identify issues. What do I need to do?

You can change the log level of Lenses to DEBUG in the configuration file. To do this, you can set the LENSES_LOG4J_OPTS variable, although it may vary slightly depending on your environment:

  • If you are using Lenses on Linux export the environment variable:

  • If you are using Lenses on docker set the environment variable:

  • If you are using the Helm chart update your Helm repo, and set:

    logbackXml: logback-debug.xml

You can debug the connection with Kafka using the same variable and use the Kafka debug file: “logback-debug-kafka.xml