Просмотр исходного кода

Update docs/faq.md and docs/maintenance-and-troubleshooting.md: adopt the common description

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4027/head
Suguru Hirahara 1 год назад
Родитель
Сommit
61c9d4c55c
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E4F9743DAB4B7B75
2 измененных файлов: 2 добавлений и 2 удалений
  1. +1
    -1
      docs/faq.md
  2. +1
    -1
      docs/maintenance-and-troubleshooting.md

+ 1
- 1
docs/faq.md Просмотреть файл

@@ -419,7 +419,7 @@ Available service names can be seen by doing `ls /etc/systemd/system/matrix*.ser

Some services also log to files in `/matrix/*/data/..`, but we're slowly moving away from that.

We also disable Docker logging, so you can't use `docker logs matrix-*` either. We do this to prevent useless double (or even triple) logging and to avoid having to rotate log files.
To prevent double-logging, Docker logging is disabled by explicitly passing `--log-driver=none` to all containers. Due to this, you **cannot** view logs using `docker logs matrix-*`.

We just simply delegate logging to journald and it takes care of persistence and expiring old data.



+ 1
- 1
docs/maintenance-and-troubleshooting.md Просмотреть файл

@@ -20,7 +20,7 @@ To view systemd-journald logs using [journalctl](https://man.archlinux.org/man/j
sudo journalctl -fu matrix-synapse
```

**Note**: to prevent double-logging, Docker logging is disabled by explicitly passing `--log-driver=none` to all containers. Due to this, you **cannot** view logs using `docker logs`.
**Note**: to prevent double-logging, Docker logging is disabled by explicitly passing `--log-driver=none` to all containers. Due to this, you **cannot** view logs using `docker logs matrix-*`.

## How to check if services work



Загрузка…
Отмена
Сохранить