[dj] Adding logging to local_settings.