From c2cd5fdb48a7a6d38f2ecbfc317248be0483dc9c Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Sat, 1 Feb 2025 19:09:52 +0900 Subject: [PATCH] Update docs/configuring-playbook-traefik.md: add the common section "Troubleshooting" Signed-off-by: Suguru Hirahara --- docs/configuring-playbook-traefik.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/configuring-playbook-traefik.md b/docs/configuring-playbook-traefik.md index 5cdc0826a..6873b3f77 100644 --- a/docs/configuring-playbook-traefik.md +++ b/docs/configuring-playbook-traefik.md @@ -8,12 +8,6 @@ This Ansible role support various configuration options. Feel free to consult it See the dedicated [Adjusting SSL certificate retrieval](configuring-playbook-ssl-certificates.md) documentation page. -## Increase logging verbosity - -```yaml -traefik_config_log_level: DEBUG -``` - ## Disable access logs To disable access logging, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file: @@ -174,3 +168,15 @@ traefik_configuration_extension_yaml: | - "/32" - "/128" ``` + +## 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-traefik`. + +### 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 +traefik_config_log_level: DEBUG +```