You can change/replace the LOG_DIR variable to some path. You can modify "/etc/hue/conf/log.conf" and replace it. For example, I first created a directory "/opt/log/hue", then made the following changes.
#args=('%LOG_DIR%/shell_input.log', 'a', 1000000, 3)
args=('/opt/log/hue/shell_input.log', 'a', 1000000, 3)
After this, save and exit and restart hue service
service hue restart