Summary
This article covers how to enable DEBUG logging for the Dremio application and plugins running in the Dremio Java process, such as source connector plugins or other libraries.
Overview
DEBUG logging provides information about code steps that are normally not printed to the log. In Dremio, logging is built on the Logback framework, and the logback.xml file controls the logging for the main Dremio process.
Relevant Versions Tools and Integrations
This applies to any on-premise or self-managed Dremio deployment.
Steps to Resolve
- Locate the logback.xml file in the
conf/
directory of your Dremio server. - Open the file in a text editor.
- Remove the
<turboFilter>
section if present. - Find the
<logger name="com.dremio">
section and changeinfo
todebug
to enable DEBUG logging for Dremio code. - To enable DEBUG logging for all code, find the
<root>
section and changeerror
todebug
. - To enable DEBUG logging for specific packages, add a new
<logger>
section with the package name and<level value="debug"/>
. - Save the file and restart Dremio for the changes to take effect (if dynamic logging is not configured).
Additional Resources
- Logback Documentation: https://logback.qos.ch/index.html
- Reading Stack Traces: What is a stack trace, and how can I use it to debug my application errors?