Преглед изворни кода

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 година
родитељ
комит
61c9d4c55c
No known key found for this signature in database GPG Key ID: 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. 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. 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 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 ## How to check if services work




Loading…
Откажи
Сачувај