Generate config.

pull/5544/head
Jorik Schellekens 2019-06-25 13:59:52 +01:00
parent 4e1eaf2b47
commit 8ca185d818
2 changed files with 26 additions and 11 deletions

View File

@ -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:
# - "*"

View File

@ -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:
# - "*"
"""