Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
6d4114c2
Verified
Commit
6d4114c2
authored
Jul 25, 2019
by
Jan Alexander Steffens (heftig)
Browse files
matrix: Update homeserver config from sample_config.yaml
parent
f7df1197
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/matrix/files/log_config.yaml
View file @
6d4114c2
version
:
1
formatters
:
fmt
:
format
:
'
%(asctime)s
-
%(name)s
-
%(lineno)d
-
%(levelname)s
-
%(request)s-
%(message)s'
journal_fmt
:
format
:
'
%(name)s:
[%(request)s]
%(message)s'
filters
:
context
:
()
:
synapse.
util.log
context.LoggingContextFilter
()
:
synapse.
logging.
context.LoggingContextFilter
request
:
"
"
handlers
:
# example output to console
console
:
class
:
logging.StreamHandler
formatter
:
fmt
filters
:
[
context
]
# output to systemd journal
journal
:
class
:
systemd.journal.JournalHandler
formatter
:
journal_fmt
...
...
@@ -17,7 +26,19 @@ handlers:
SYSLOG_IDENTIFIER
:
synapse
root
:
level
:
ERROR
handlers
:
[
journal
]
level
:
ERROR
handlers
:
[
journal
]
loggers
:
synapse
:
level
:
ERROR
synapse.storage.SQL
:
# beware: increasing this to DEBUG will make synapse log sensitive
# information such as access tokens.
level
:
ERROR
disable_existing_loggers
:
False
# example of enabling debugging for a component:
#
# synapse.federation.transport.server:
# level: DEBUG
roles/matrix/templates/homeserver.yaml.j2
View file @
6d4114c2
# vim:ft=yaml
# vim:ft=yaml
sw=2 et:
## Server ##
...
...
@@ -779,6 +779,17 @@ url_preview_ip_range_blacklist:
# renew_at: 1w
# renew_email_subject: "Renew your %(app)s account"
# Time that a user's session remains valid for, after they log in.
#
# Note that this is not currently compatible with guest logins.
#
# Note also that this is calculated at login time: changes are not applied
# retrospectively to users who have already logged in.
#
# By default, this is infinite.
#
#session_lifetime: 24h
# The user must provide all of the below types of 3PID when registering.
#
#registrations_require_3pid:
...
...
@@ -1387,3 +1398,27 @@ password_config:
# module: "my_custom_project.SuperRulesSet"
# config:
# example_option: 'things'
## Opentracing ##
# These settings enable opentracing, which implements distributed tracing.
# This allows you to observe the causal chains of events across servers
# including requests, key lookups etc., across any server running
# synapse or any other other services which supports opentracing
# (specifically those implemented with Jaeger).
#
opentracing
:
# tracing is disabled by default. Uncomment the following line to enable it.
#
#enabled: true
# The list of homeservers we wish to send and receive span contexts and span baggage.
# See docs/opentracing.rst
# This is a list of regexes which are matched against the server_name of the
# homeserver.
#
# By defult, it is empty, so no servers are matched.
#
#homeserver_whitelist:
# - ".*"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment