Adding logging feature to django app