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 Cloudera Manager as an Administrator.
  2. 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.
  3. Restart the Hue service.