2018-11-14 20:34:24 +00:00
# Maintenance and Troubleshooting
## How to see the current status of your services
You can check the status of your services by using `systemctl status` . Example:
```
sudo systemctl status matrix-nginx-proxy
● matrix-nginx-proxy.service - Matrix nginx proxy server
Loaded: loaded (/etc/systemd/system/matrix-nginx-proxy.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-11-14 19:38:35 UTC; 49min ago
```
You can see the logs by using journalctl. Example:
```
sudo journalctl -fu matrix-synapse
```
2019-10-22 07:54:13 +00:00
2019-08-03 04:47:00 +00:00
## Increasing Synapse logging
Because the [Synapse ](https://github.com/matrix-org/synapse ) Matrix server is originally very chatty when it comes to logging, we intentionally reduce its [logging level ](https://docs.python.org/3/library/logging.html#logging-levels ) from `INFO` to `WARNING` .
2019-08-06 04:14:52 +00:00
If you'd like to debug an issue or [report a Synapse bug ](https://github.com/matrix-org/synapse/issues/new/choose ) to the developers, it'd be better if you temporarily increasing the logging level to `INFO` .
2019-08-03 04:47:00 +00:00
Example configuration (`inventory/host_vars/matrix.DOMAIN/vars.yml`):
```yaml
2019-08-06 04:14:52 +00:00
matrix_synapse_log_level: "INFO"
matrix_synapse_storage_sql_log_level: "INFO"
matrix_synapse_root_log_level: "INFO"
2019-08-03 04:47:00 +00:00
```
Re-run the playbook after making these configuration changes.
2019-10-22 07:54:13 +00:00
2018-11-14 20:34:24 +00:00
## Postgres
2019-06-19 07:30:04 +00:00
See the dedicated [PostgreSQL Maintenance ](maintenance-postgres.md ) documentation page.
2019-10-21 18:11:00 +00:00
2020-01-07 18:04:26 +00:00
## Ma1sd
2019-10-21 18:11:00 +00:00
2020-01-07 18:04:26 +00:00
See the dedicated [Adjusting ma1sd Identity Server configuration ](configuring-playbook-ma1sd.md ) documentation page.