From 8ca185d818d086816fd6a4b86d1cf392374680cf Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Tue, 25 Jun 2019 13:59:52 +0100 Subject: [PATCH] Generate config. --- docs/sample_config.yaml | 15 +++++++++++++++ synapse/config/tracer.py | 22 +++++++++++----------- 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml index da10788e96..5861861c61 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml @@ -1352,3 +1352,18 @@ password_config: # module: "my_custom_project.SuperRulesSet" # config: # example_option: 'things' + + +## Tracer ## + +#tracer: +# # Enable / disable tracer +# tracer_enabled: false +# # The list of users who's requests will be traced +# # The list is a list of regex which is matched against the user_id +# user_whitelist: +# - "*" +# # The list of homeservers we wish to trace across +# # The list is a list of regex which is matched against the homeserver name +# homeserver_whitelist: +# - "*" diff --git a/synapse/config/tracer.py b/synapse/config/tracer.py index 5eab97ef8a..9df9f9c64e 100644 --- a/synapse/config/tracer.py +++ b/synapse/config/tracer.py @@ -47,17 +47,17 @@ class TracerConfig(Config): return """\ ## Tracer ## - tracer: - # Enable / disable tracer - tracer_enabled: false - # The list of users who's requests will be traced - # The list is a list of regex which is matched against the user_id - user_whitelist: - - "*" - # The list of homeservers we wish to trace across - # The list is a list of regex which is matched against the homeserver name - homeserver_whitelist: - - "*" + #tracer: + # # Enable / disable tracer + # tracer_enabled: false + # # The list of users who's requests will be traced + # # The list is a list of regex which is matched against the user_id + # user_whitelist: + # - "*" + # # The list of homeservers we wish to trace across + # # The list is a list of regex which is matched against the homeserver name + # homeserver_whitelist: + # - "*" """