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>
This commit is contained in:
		| @@ -72,3 +72,16 @@ To clean the cache (session & encryption data) after you changed the bot's usern | |||||||
| ```sh | ```sh | ||||||
| just run-tags bot-matrix-registration-bot-clean-cache | 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 | ||||||
|  | ``` | ||||||
|   | |||||||
| @@ -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_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: "" | matrix_bot_matrix_registration_bot_container_network: "" | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user