Skip to main content

Print Debug Messages

Enabling this setting will add Python print statements to the Databricks notebooks that output debug messages to the console. This is useful during development to provide additional information for debugging issues during the load process.

This setting and Log Execution Activity together set the default logging level of the generated Databricks task notebooks. The level is the default value of the logging_level notebook widget: V when both settings are enabled, A when only Log Execution Activity is enabled, D when only Print Debug Messages is enabled, and blank when neither is.

When to Change This Setting​

Enable it during development to see debug messages in the Databricks console while a notebook runs. Keep the default N when those messages are not needed.

SettingInteraction
Log Execution ActivityCombined with this setting to form the default logging level

Notes​

  • This setting is part of the Databricks settings category.
  • The default value for this setting is N.