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

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
Suguru Hirahara 2025-01-27 00:40:15 +09:00
parent 16d3d0e3fe
commit 855ba5581a
No known key found for this signature in database
GPG Key ID: E4F9743DAB4B7B75
2 changed files with 14 additions and 1 deletions

View File

@ -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'
```

View File

@ -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: |