zulip/zproject
Greg Price cd5e44491c logging: Drop confusing use of `propagate` in test_settings.
This line was added in e8ab7cd1a as a desperate measure to get the
`set_loglevel` helper to successfully suppress the `zulip.send_email`
logs.

In fact, the reason that just setting `level` there wasn't doing the
job had nothing to do with `propagate`, which doesn't interact with
`level`.  (See the long block comment in `zproject/settings.py`,
searching for "Python logging module", for my attempt at concisely
explaining these semantics.)  Rather, our setting for `level` was
getting clobbered by the use of `create_logger`; and setting
`propagate` to False worked by completely suppressing all logs to
`zulip.send_email` and descendants from reaching the normal handlers,
regardless of the log messages' levels.

Now that the `create_logger` issue is fixed (see a few commits before
this one), drop that.
2017-12-12 17:17:08 -08:00
..
jinja2 zproject: Remove unused imports (F401). 2017-11-07 16:37:03 -08:00
__init__.py Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
backends.py zproject: Use Python 3 syntax for typing. 2017-11-27 17:01:18 -08:00
dev_settings.py dev_settings: Remove accidentally-pushed OAuth app IDs. 2017-12-11 21:06:35 -08:00
dev_urls.py test_emails: Generate emails instead of hardcoding. 2017-09-26 15:02:47 -07:00
email_backends.py zproject: Use Python 3 syntax for typing. 2017-11-27 17:01:18 -08:00
legacy_urls.py urls: Move the report endpoints to be API-style routes. 2017-10-17 22:05:56 -07:00
prod_settings_template.py docs: Update links from codebase to point to ReadTheDocs. 2017-11-16 10:53:49 -08:00
settings.py logging: Eliminate log_level from create_logger. 2017-12-12 17:17:08 -08:00
terms.md.template Add TERMS_OF_SERVICE setting. 2016-07-29 20:47:31 -07:00
test_settings.py logging: Drop confusing use of `propagate` in test_settings. 2017-12-12 17:17:08 -08:00
urls.py confirmation: Move check_prereg_key_and_redirect to registration.py. 2017-11-29 22:18:05 -08:00
wsgi.py python: Add lint rule banning 'from os.path import'. 2017-09-22 04:55:38 -07:00