synapse-product/synapse/config
Erik Johnston db131b6b22
Change the default log config to reduce disk I/O and storage (#8040)
* Change default log config to buffer by default.

This batches up writes to the filesystem, which is more efficient for
disk I/O. This means that it can take some time for logs to get written
to disk. Note that ERROR logs (and above) immediately flush the buffer.

This only effects new installs, as we only write the log config if
started with `--generate-config` (in the same way we do for generating
signing keys).

* Default to keeping last 4 days of logs.

This hopefully reduces the amount of logs kept for new servers. Keeping
the last 1GB of logs is likely overkill for new servers, but equally may
not be enough for busy ones.

Instead, we keep the last four days worth of logs, enough so that admins
can investigate any problems that happened over e.g. a long weekend.
2020-08-11 18:09:46 +01:00
..
__init__.py
__main__.py isort 5 compatibility (#7786) 2020-07-05 16:32:02 +01:00
_base.py Add ability to run multiple pusher instances (#7855) 2020-07-16 14:06:28 +01:00
_base.pyi Add ability to run multiple pusher instances (#7855) 2020-07-16 14:06:28 +01:00
_util.py Implement login blocking based on SAML attributes (#8052) 2020-08-11 16:08:10 +01:00
api.py
appservice.py Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00
cache.py Take out a lock before modifying _CACHES (#7663) 2020-06-10 18:27:49 +01:00
captcha.py
cas.py
consent_config.py
database.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
emailconfig.py Allow email subjects to be customised through Synapse's configuration (#7846) 2020-07-14 19:10:42 +01:00
federation.py Update worker docs with recent enhancements (#7969) 2020-07-29 23:22:13 +01:00
groups.py
homeserver.py Update worker docs with recent enhancements (#7969) 2020-07-29 23:22:13 +01:00
jwt_config.py Add the option to validate the iss and aud claims for JWT logins. (#7827) 2020-07-14 07:16:43 -04:00
key.py
logger.py Change the default log config to reduce disk I/O and storage (#8040) 2020-08-11 18:09:46 +01:00
metrics.py
oidc_config.py fix broken link in sample config (#7712) 2020-06-16 19:50:16 +01:00
password_auth_providers.py
password.py
push.py Add ability to run multiple pusher instances (#7855) 2020-07-16 14:06:28 +01:00
ratelimiting.py Add ratelimiting on joins 2020-07-31 15:06:56 +01:00
redis.py Update worker docs with recent enhancements (#7969) 2020-07-29 23:22:13 +01:00
registration.py Various improvements to the docs (#7899) 2020-07-29 10:35:44 -04:00
repository.py Support running multiple media repos. (#7706) 2020-06-17 14:13:30 +01:00
room_directory.py
room.py Fix handling of "off" in encryption_enabled_by_default_for_room_type (#7822) 2020-07-13 17:14:42 +01:00
saml2_config.py Implement login blocking based on SAML attributes (#8052) 2020-08-11 16:08:10 +01:00
server_notices_config.py
server.py Typo 2020-08-10 11:23:24 +01:00
spam_checker.py
sso.py Cleanups to the OpenID Connect integration (#7628) 2020-06-03 21:13:17 +01:00
stats.py
third_party_event_rules.py
tls.py Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00
tracer.py
user_directory.py
voip.py
workers.py Update worker docs with recent enhancements (#7969) 2020-07-29 23:22:13 +01:00