Add variable to enable verbose logging for mxisdpull/286/head
| @@ -54,3 +54,11 @@ To learn more about how to do this, refer to the information about `matrix_mxisd | |||||
| ## Troubleshooting | ## Troubleshooting | ||||
| If email address validation emails sent by mxisd are not reaching you, you should look into [Adjusting email-sending settings](configuring-playbook-email.md). | If email address validation emails sent by mxisd are not reaching you, you should look into [Adjusting email-sending settings](configuring-playbook-email.md). | ||||
| If you'd like additional logging information, temporarily enable verbose logging for mxisd. | |||||
| Example configuration (`inventory/host_vars/matrix.DOMAIN/vars.yml`): | |||||
| ```yaml | |||||
| matrix_mxisd_verbose_logging: true | |||||
| ``` | |||||
| @@ -37,3 +37,7 @@ Re-run the playbook after making these configuration changes. | |||||
| ## Postgres | ## Postgres | ||||
| See the dedicated [PostgreSQL Maintenance](maintenance-postgres.md) documentation page. | See the dedicated [PostgreSQL Maintenance](maintenance-postgres.md) documentation page. | ||||
| ## Mxisd | |||||
| See the dedicated [Adjusting mxisd Identity Server configuration](configuring-playbook-mxisd.md) documentation page. | |||||
| @@ -68,6 +68,11 @@ matrix_mxisd_threepid_medium_email_custom_matrixid_template: "" | |||||
| # Controls whether the self-check feature should validate SSL certificates. | # Controls whether the self-check feature should validate SSL certificates. | ||||
| matrix_mxisd_self_check_validate_certificates: true | matrix_mxisd_self_check_validate_certificates: true | ||||
| # Controls mxisd logging verbosity for troubleshooting. | |||||
| # | |||||
| # According to: https://github.com/kamax-matrix/mxisd/blob/master/docs/troubleshooting.md#increase-verbosity | |||||
| matrix_mxisd_verbose_logging: false | |||||
| # Default mxisd configuration template which covers the generic use case. | # Default mxisd configuration template which covers the generic use case. | ||||
| # You can customize it by controlling the various variables inside it. | # You can customize it by controlling the various variables inside it. | ||||
| # | # | ||||
| @@ -26,6 +26,9 @@ ExecStart=/usr/bin/docker run --rm --name matrix-mxisd \ | |||||
| {% if matrix_mxisd_container_http_host_bind_port %} | {% if matrix_mxisd_container_http_host_bind_port %} | ||||
| -p {{ matrix_mxisd_container_http_host_bind_port }}:8090 \ | -p {{ matrix_mxisd_container_http_host_bind_port }}:8090 \ | ||||
| {% endif %} | {% endif %} | ||||
| {% if matrix_mxisd_verbose_logging %} | |||||
| -e MXISD_LOG_LEVEL=debug \ | |||||
| {% endif %} | |||||
| -v {{ matrix_mxisd_config_path }}:/etc/mxisd:ro \ | -v {{ matrix_mxisd_config_path }}:/etc/mxisd:ro \ | ||||
| -v {{ matrix_mxisd_data_path }}:/var/mxisd:rw \ | -v {{ matrix_mxisd_data_path }}:/var/mxisd:rw \ | ||||
| {% for arg in matrix_mxisd_container_extra_arguments %} | {% for arg in matrix_mxisd_container_extra_arguments %} | ||||