zulip/zproject
Mateusz Mandera e559447f83 ldap: Improve logging.
Our ldap integration is quite sensitive to misconfigurations, so more
logging is better than less to help debug those issues.
Despite the following docstring on ZulipLDAPException:

"Since this inherits from _LDAPUser.AuthenticationFailed, these will
be caught and logged at debug level inside django-auth-ldap's
authenticate()"

We weren't actually logging anything, because debug level messages were
ignored due to our general logging settings. It is however desirable to
log these errors, as they can prove useful in debugging configuration
problems. The django_auth_ldap logger can get fairly spammy on debug
level, so we delegate ldap logging to a separate file
/var/log/zulip/ldap.log to avoid spamming server.log too much.
2019-12-28 10:47:08 -08:00
..
jinja2 cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
__init__.py
backends.py ldap: Improve logging. 2019-12-28 10:47:08 -08:00
config.py config: Use fallback parameter of RawConfigParser.get. 2019-12-09 13:05:31 -08:00
default_settings.py settings: Add option to set remote postgres port. 2019-12-12 12:17:11 -08:00
dev_settings.py settings: Turn on mypy checking. 2019-11-13 12:38:45 -08:00
dev_urls.py storage: Stop using django-pipeline. 2019-07-24 17:40:31 -07:00
email_backends.py tools: Upgrade Pycodestyle and fix new linter errors. 2019-01-31 12:21:41 -08:00
legacy_urls.py urls: Move the json/fetch_api_key endpoint to be an API-style route. 2018-01-08 13:15:52 -05:00
prod_settings_template.py templates: Correct sample Google authorized redirect URI. 2019-12-21 20:08:31 -08:00
settings.py ldap: Improve logging. 2019-12-28 10:47:08 -08:00
slack_importer_test_settings.py settings: Migrate test settings to modern postgres backend name. 2019-01-23 17:08:24 -08:00
terms.md.template Add TERMS_OF_SERVICE setting. 2016-07-29 20:47:31 -07:00
test_settings.py ldap: Improve logging. 2019-12-28 10:47:08 -08:00
urls.py auth: Use config_error instead of JsonableError in remote_user_sso. 2019-12-11 16:40:20 -08:00
wsgi.py wsgi.py: Fix broken error ouput for django.setup() call. 2019-06-24 12:19:51 -07:00