anonymousland-synapse/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
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
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
groups
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
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
spam_checker_api
state Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
static
storage Implement new experimental push rules (#7997) 2020-08-10 11:48:01 +01:00
streams
util Remove unnecessary maybeDeferred calls (#8044) 2020-08-07 09:44:48 -04:00
__init__.py
event_auth.py
notifier.py
python_dependencies.py
secrets.py
server.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
server.pyi
types.py
visibility.py