0304ad0c3d
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) |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
_base.py | ||
_base.pyi | ||
_util.py | ||
api.py | ||
appservice.py | ||
cache.py | ||
captcha.py | ||
cas.py | ||
consent_config.py | ||
database.py | ||
emailconfig.py | ||
federation.py | ||
groups.py | ||
homeserver.py | ||
jwt_config.py | ||
key.py | ||
logger.py | ||
metrics.py | ||
oidc_config.py | ||
password.py | ||
password_auth_providers.py | ||
push.py | ||
ratelimiting.py | ||
redis.py | ||
registration.py | ||
repository.py | ||
room.py | ||
room_directory.py | ||
saml2_config.py | ||
server.py | ||
server_notices_config.py | ||
spam_checker.py | ||
sso.py | ||
stats.py | ||
third_party_event_rules.py | ||
tls.py | ||
tracer.py | ||
user_directory.py | ||
voip.py | ||
workers.py |