Configuring to use django's logger.