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

Update files for matrix-registration-bot: add the common section for "Troubleshooting"

See: https://github.com/moan0s/matrix-registration-bot/blob/main/README.md

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

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

@@ -72,3 +72,16 @@ To clean the cache (session & encryption data) after you changed the bot's usern
```sh
just run-tags bot-matrix-registration-bot-clean-cache
```

## 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-registration-bot`.

### Increase logging verbosity

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

```yaml
# Valid values: ERROR, INFO, DEBUG
matrix_bot_matrix_registration_bot_logging_level: DEBUG
```

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

@@ -39,7 +39,8 @@ matrix_bot_matrix_registration_bot_api_token: ''

matrix_bot_matrix_registration_bot_device_id: "matrix-docker-ansible-deploy"

matrix_bot_matrix_registration_bot_logging_level: info
# Valid values: ERROR, INFO, DEBUG
matrix_bot_matrix_registration_bot_logging_level: INFO

matrix_bot_matrix_registration_bot_container_network: ""



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