From ef48afca67dd7674b08a97fa1c2f18cc93c4c5f1 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Tue, 28 Jan 2025 14:46:54 +0900 Subject: [PATCH] Update docs/configuring-playbook-bot-honoroit.md: add the common section "Troubleshooting" See https://github.com/etkecc/honoroit/blob/da66cc4d0ef7a1516f8a58ae7b06c5d94a0357ee/internal/config/config_test.go for the confirmation of logging level (debug). Signed-off-by: Suguru Hirahara --- docs/configuring-playbook-bot-honoroit.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/configuring-playbook-bot-honoroit.md b/docs/configuring-playbook-bot-honoroit.md index 32998e949..82e0df2c7 100644 --- a/docs/configuring-playbook-bot-honoroit.md +++ b/docs/configuring-playbook-bot-honoroit.md @@ -81,3 +81,15 @@ After the bot joins the room, any Matrix user can send a message to it to start Send `!ho help` to the bot in the room to see the available commands. You can also refer to the upstream [documentation](https://github.com/etkecc/honoroit#features). + +## 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-honoroit`. + +### Increase logging verbosity + +If you want to increase the verbosity, add the following configuration to your `vars.yml` file and re-run the playbook: + +```yaml +matrix_bot_honoroit_loglevel: 'DEBUG' +```