mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-29 22:37:56 +01:00 
			
		
		
		
	Update files for Mjolnir: add the common section "Troubleshooting"
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
		| @@ -194,3 +194,17 @@ ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,ensure-matrix-use | ||||
| ## Usage | ||||
|  | ||||
| You can refer to the upstream [documentation](https://github.com/matrix-org/mjolnir) for additional ways to use and configure Mjolnir. Check out their [quickstart guide](https://github.com/matrix-org/mjolnir#quickstart-guide) for some basic commands you can give to the bot. | ||||
|  | ||||
| ## 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-bot-mjolnir`. | ||||
|  | ||||
| ### 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, WARN, INFO, DEBUG | ||||
| matrix_bot_mjolnir_configuration_extension_yaml: | | ||||
|   logLevel: "DEBUG" | ||||
| ``` | ||||
|   | ||||
| @@ -57,10 +57,9 @@ managementRoom: {{ matrix_bot_mjolnir_management_room | to_json }} | ||||
| # mainly involves "all-OK" messages, and debugging messages for when mjolnir checks bans in a room. | ||||
| verboseLogging: false | ||||
|  | ||||
| # The log level of terminal (or container) output, | ||||
| # can be one of DEBUG, INFO, WARN and ERROR, in increasing order of importance and severity. | ||||
| # The log level of terminal (or container) output. | ||||
| # | ||||
| # This should be at INFO or DEBUG in order to get support for Mjolnir problems. | ||||
| # Valid values: ERROR, WARN, INFO, DEBUG | ||||
| logLevel: "INFO" | ||||
|  | ||||
| # Whether or not Mjolnir should synchronize policy lists immediately after startup. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user