Procházet zdrojové kódy

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 před 1 rokem
rodič
revize
61c9d4c55c
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: E4F9743DAB4B7B75
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +1
    -1
      docs/faq.md
  2. +1
    -1
      docs/maintenance-and-troubleshooting.md

+ 1
- 1
docs/faq.md Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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



Načítá se…
Zrušit
Uložit