Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
This commit is contained in:
@ -29,7 +29,7 @@ You are required to specify an access token for Dimension to work.
|
||||
To get an access token, follow these steps:
|
||||
|
||||
1. In a private browsing session (incognito window), open Riot.
|
||||
2. It's better to you use dedicated user for getting access token, so log in with this user's username and password.
|
||||
2. It's preferable to use a dedicated user for the access token, so create and log in with that user's username and password.
|
||||
3. Set the display name and avatar, if required.
|
||||
4. In the settings page choose "Help & About", scroll down to the bottom and click `Access Token: <click to reveal>`.
|
||||
5. Copy the highlighted text to your configuration.
|
||||
|
@ -16,6 +16,24 @@ You can see the logs by using journalctl. Example:
|
||||
sudo journalctl -fu matrix-synapse
|
||||
```
|
||||
|
||||
|
||||
## Increasing Synapse logging
|
||||
|
||||
Because the [Synapse](https://github.com/matrix-org/synapse) Matrix server is originally very chatty when it comes to logging, we intentionally reduce its [logging level](https://docs.python.org/3/library/logging.html#logging-levels) from `INFO` to `WARNING`.
|
||||
|
||||
If you'd like to debug an issue or [report a Synapse bug](https://github.com/matrix-org/synapse/issues/new/choose) to the developers, it'd be better if you temporarily increasing the logging level to `INFO` or even `DEBUG`.
|
||||
|
||||
Example configuration (`inventory/host_vars/matrix.DOMAIN/vars.yml`):
|
||||
|
||||
```yaml
|
||||
matrix_synapse_log_level: "DEBUG"
|
||||
matrix_synapse_storage_sql_log_level: "DEBUG"
|
||||
matrix_synapse_root_log_level: "DEBUG"
|
||||
```
|
||||
|
||||
Re-run the playbook after making these configuration changes.
|
||||
|
||||
|
||||
## Postgres
|
||||
|
||||
See the dedicated [PostgreSQL Maintenance](maintenance-postgres.md) documentation page.
|
||||
|
Reference in New Issue
Block a user