diff --git a/modules/matrix/default.nix b/modules/matrix/default.nix index da6c49dd..f8b23554 100644 --- a/modules/matrix/default.nix +++ b/modules/matrix/default.nix @@ -108,8 +108,6 @@ in instance_map = { }; limit_profile_requests_to_users_who_share_rooms = false; - log_config = ./matrix-log-config.yaml; - max_spider_size = "10M"; max_upload_size = "50M"; media_storage_providers = [ ]; diff --git a/modules/matrix/matrix-log-config.yaml b/modules/matrix/matrix-log-config.yaml deleted file mode 100644 index c7465ae5..00000000 --- a/modules/matrix/matrix-log-config.yaml +++ /dev/null @@ -1,40 +0,0 @@ -version: 1 - -formatters: - precise: - format: "%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s - %(message)s" - -filters: - context: - (): synapse.util.logcontext.LoggingContextFilter - request: "" - -handlers: - console: - class: logging.StreamHandler - formatter: precise - filters: [context] - -loggers: - synapse: - level: WARNING - - synapse.storage.SQL: - # beware: increasing this to DEBUG will make synapse log sensitive - # information such as access tokens. - level: WARNING - - synapse.http.matrixfederationclient: - level: CRITICAL - synapse.federation.sender.per_destination_queue: - level: CRITICAL - synapse.handlers.device: - level: CRITICAL - synapse.replication.tcp.handler: - level: CRITICAL - shared_secret_authenticator: - level: INFO - -root: - level: WARNING - handlers: [console]