Merge pull request #283 from fnoah/master
Add variable to enable verbose logging for mxisd
This commit is contained in:
commit
9f002d7ef2
@ -54,3 +54,11 @@ To learn more about how to do this, refer to the information about `matrix_mxisd
|
||||
## 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 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
|
||||
|
||||
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.
|
||||
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.
|
||||
# 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 %}
|
||||
-p {{ matrix_mxisd_container_http_host_bind_port }}:8090 \
|
||||
{% endif %}
|
||||
{% if matrix_mxisd_verbose_logging %}
|
||||
-e MXISD_LOG_LEVEL=debug \
|
||||
{% endif %}
|
||||
-v {{ matrix_mxisd_config_path }}:/etc/mxisd:ro \
|
||||
-v {{ matrix_mxisd_data_path }}:/var/mxisd:rw \
|
||||
{% for arg in matrix_mxisd_container_extra_arguments %}
|
||||
|
Loading…
Reference in New Issue
Block a user