enable logging for django in production mode

This requires to configure rsyslog on the machine to listen on 127.0.0.1 and udp port 514.