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" # module: "my_custom_project.SuperRulesSet"
# config: # config:
# example_option: 'things' # 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 """\ return """\
## Tracer ## ## Tracer ##
tracer: #tracer:
# Enable / disable tracer # # Enable / disable tracer
tracer_enabled: false # tracer_enabled: false
# The list of users who's requests will be traced # # The list of users who's requests will be traced
# The list is a list of regex which is matched against the user_id # # The list is a list of regex which is matched against the user_id
user_whitelist: # user_whitelist:
- "*" # - "*"
# The list of homeservers we wish to trace across # # The list of homeservers we wish to trace across
# The list is a list of regex which is matched against the homeserver name # # The list is a list of regex which is matched against the homeserver name
homeserver_whitelist: # homeserver_whitelist:
- "*" # - "*"
""" """