Просмотр исходного кода

Update docs/configuring-playbook-bridge-appservice-discord.md: add the common section "Troubleshooting"

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4020/head
Suguru Hirahara 1 год назад
Родитель
Сommit
97a7540e5d
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E4F9743DAB4B7B75
1 измененных файлов: 15 добавлений и 0 удалений
  1. +15
    -0
      docs/configuring-playbook-bridge-appservice-discord.md

+ 15
- 0
docs/configuring-playbook-bridge-appservice-discord.md Просмотреть файл

@@ -108,3 +108,18 @@ There's the Discord bridge's guide for [setting privileges on bridge managed roo
docker exec -it matrix-appservice-discord \
/bin/sh -c 'cp /cfg/registration.yaml /tmp/discord-registration.yaml && cd /tmp && node /build/tools/adminme.js -c /cfg/config.yaml -m "!qporfwt:example.com" -u "@alice:example.com" -p 100'
```

## Troubleshooting

As with all other services, you can find the logs in [systemd-journald](https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html) by logging in to the server with SSH and running `journalctl -fu matrix-appservice-discord`.

### Increase logging verbosity

The default logging level for this component is `warn`. If you want to increase the verbosity, add the following configuration to your `vars.yml` file (adapt to your needs) and re-run the playbook:

```yaml
matrix_appservice_discord_configuration_extension_yaml: |
logging:
# What level should the logger output to the console at.
console: "info" #silly, verbose, info, http, warn, error, silent
```

Загрузка…
Отмена
Сохранить