Enabling DEBUG
DEBUG is available for the Hue Django 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.
In the debug mode, Django displays a detailed traceback when an exception occurs. Debugging information may contain sensitive data.
You can enable DEBUG
messages for all the logs in
var/log/hue from Cloudera Manager or from the Hue web
UI.
Using Cloudera Manager
- Go to .
- Select the Enable Django Debug Mode option.
- Click Save Changes.
- Restart the Hue service.
Using the Hue web interface
- Log into the Hue web interface as a superuser.
- Click Administer Server from the left-assist
pannel.
About Hue page is displayed.
- Click on the Server Logs tab.
- Select the Force DEBUG level option.
Debug is enabled on-the-fly.