Enabling DEBUG logging for Hue logs

DEBUG is available for the Hue server logs in /var/log/hue. By default, the Hue service writes INFO level messages and keeps a small buffer of log messages at all levels in memory. If you want detailed, debug-level information, then you can enable this feature from Hue configuration in Cloudera Manager.

In the debug mode, Hue displays a detailed traceback when an exception occurs. Debugging information may contain sensitive data.

  1. Log in to the CDP web interface as an Administrator.
  2. Go to Management Console > Environments, select your environment and go to the Data Lake tab.
  3. Click on the CM URL to open Cloudera Manager.
  4. Go to Clusters > Hue > Configuration and select the Enable Django Debug Mode option.
    The Enable Django Debug Mode option is used to toggle between INFO and DEBUG-level logging.
  5. Restart the Hue service.