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

Update files for matrix-bridge-wechat: add the common section "Troubleshooting"

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4005/head
Suguru Hirahara 1 год назад
Родитель
Сommit
855ba5581a
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E4F9743DAB4B7B75
2 измененных файлов: 14 добавлений и 1 удалений
  1. +13
    -0
      docs/configuring-playbook-bridge-wechat.md
  2. +1
    -1
      roles/custom/matrix-bridge-wechat/defaults/main.yml

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

@@ -43,3 +43,16 @@ ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,ensure-matrix-use
To use the bridge, you need to start a chat with `@wechatbot:example.com` (where `example.com` is your base domain, not the `matrix.` domain).

Send `help` to the bot to see the available commands.

## 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-bridge-wechat`.

### 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 and re-run the playbook:

```yaml
# Valid values: debug, info, warn, error, fatal
matrix_wechat_log_level: 'debug'
```

+ 1
- 1
roles/custom/matrix-bridge-wechat/defaults/main.yml Просмотреть файл

@@ -95,7 +95,7 @@ matrix_wechat_encryption_allow: "{{ matrix_bridges_encryption_enabled }}"
matrix_wechat_encryption_default: "{{ matrix_wechat_encryption_allow }}"

# Minimum severity of journal log messages.
# Options: debug, info, warn, error, fatal
# Valid values: debug, info, warn, error, fatal
matrix_wechat_log_level: 'warn'

matrix_wechat_permissions: |


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