synapse-old/synapse
Erik Johnston 0304ad0c3d Move setting of Filter into code.
We do this to prevent foot guns. The default config uses a MemoryFilter,
but users are free to change to logging to files directly. If they do
then they have to ensure to set the `filters: [context]` on the right
handler, otherwise records get written with the wrong context.

Instead we move the logic to happen when we generate a record, which is
when we *log* rather than *handle*.

(It's possible to add filters to loggers in the config, however they
don't apply to descendant loggers and so they have to be manually set on
*every* logger used in the code base)
2020-08-11 18:10:46 +01:00
..
_scripts Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00
api Convert synapse.api to async/await (#8031) 2020-08-06 08:30:06 -04:00
app Add health check endpoint (#8048) 2020-08-07 14:21:24 +01:00
appservice Convert the SimpleHttpClient to async. (#8016) 2020-08-04 07:22:04 -04:00
config Move setting of Filter into code. 2020-08-11 18:10:46 +01:00
crypto Add a comment about SSLv23_METHOD (#8043) 2020-08-07 15:14:29 +01:00
events Convert synapse.api to async/await (#8031) 2020-08-06 08:30:06 -04:00
federation Merge branch 'master' into develop 2020-07-30 15:18:36 +01:00
groups Convert groups and visibility code to async / await. (#7951) 2020-07-27 12:32:08 -04:00
handlers Implement login blocking based on SAML attributes (#8052) 2020-08-11 16:08:10 +01:00
http Reduce INFO logging (#8050) 2020-08-11 18:10:07 +01:00
logging Fix error reporting when using `opentracing.trace` (#7961) 2020-07-27 16:20:24 +01:00
metrics Convert run_as_background_process inner function to async. (#8032) 2020-08-06 08:20:42 -04:00
module_api Convert synapse.api to async/await (#8031) 2020-08-06 08:30:06 -04:00
push Implement new experimental push rules (#7997) 2020-08-10 11:48:01 +01:00
replication Reduce unnecessary whitespace in JSON. (#7372) 2020-08-07 08:02:55 -04:00
res/templates Implement login blocking based on SAML attributes (#8052) 2020-08-11 16:08:10 +01:00
rest Implement new experimental push rules (#7997) 2020-08-10 11:48:01 +01:00
server_notices Fix some comments and types in service notices (#7996) 2020-07-31 16:22:06 -04:00
spam_checker_api Add type hints to the spam check module (#6915) 2020-02-14 12:49:40 -05:00
state Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
static Clean-up the fallback login code. (#7657) 2020-06-10 09:50:39 -04:00
storage Implement new experimental push rules (#7997) 2020-08-10 11:48:01 +01:00
streams Convert streams to async. (#8014) 2020-08-04 07:21:47 -04:00
util Remove unnecessary maybeDeferred calls (#8044) 2020-08-07 09:44:48 -04:00
__init__.py Merge branch 'master' into develop 2020-07-30 15:18:36 +01:00
event_auth.py Fix recursion error when fetching auth chain over federation (#7817) 2020-07-10 18:15:35 +01:00
notifier.py Convert streams to async. (#8014) 2020-08-04 07:21:47 -04:00
python_dependencies.py re-implement daemonize (#8011) 2020-08-04 10:03:41 +01:00
secrets.py isort 5 compatibility (#7786) 2020-07-05 16:32:02 +01:00
server.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
server.pyi Fix typing replication not being handled on master (#7959) 2020-07-27 14:10:53 +01:00
types.py isort 5 compatibility (#7786) 2020-07-05 16:32:02 +01:00
visibility.py Convert groups and visibility code to async / await. (#7951) 2020-07-27 12:32:08 -04:00