From e8213768a5661b20c322c881db712f0ac6c99b71 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Sat, 25 Jan 2025 18:04:42 +0900 Subject: [PATCH] Update files for matrix-bridge-hookshot: sort logging levels Based on docs/configuring-playbook-alertmanager-receiver.md We can re-sort the levels it if is found out that debug should be placed at the first. Signed-off-by: Suguru Hirahara --- docs/configuring-playbook-bridge-hookshot.md | 2 +- roles/custom/matrix-bridge-hookshot/defaults/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuring-playbook-bridge-hookshot.md b/docs/configuring-playbook-bridge-hookshot.md index 948704ecc..6f6bda8e8 100644 --- a/docs/configuring-playbook-bridge-hookshot.md +++ b/docs/configuring-playbook-bridge-hookshot.md @@ -153,6 +153,6 @@ As with all other services, you can find the logs in [systemd-journald](https:// 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 +# Valid values: error, warn, info, debug matrix_hookshot_logging_level: debug ``` diff --git a/roles/custom/matrix-bridge-hookshot/defaults/main.yml b/roles/custom/matrix-bridge-hookshot/defaults/main.yml index 82ceabe24..835ef6c38 100644 --- a/roles/custom/matrix-bridge-hookshot/defaults/main.yml +++ b/roles/custom/matrix-bridge-hookshot/defaults/main.yml @@ -183,7 +183,7 @@ matrix_hookshot_provisioning_internal: "/v1" matrix_hookshot_provisioning_hostname: "{{ matrix_hookshot_public_hostname }}" matrix_hookshot_provisioning_endpoint: "{{ matrix_hookshot_public_endpoint }}{{ matrix_hookshot_provisioning_internal }}" -# Valid logging levels are: debug, info, warn, error +# Valid values: error, warn, info, debug matrix_hookshot_logging_level: warn matrix_hookshot_widgets_enabled: true