summary refs log tree commit diff
path: root/docker/README.md
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2022-07-05 10:46:20 +0100
committerGitHub <noreply@github.com>2022-07-05 09:46:20 +0000
commit65e675504fe060e5e99e145be450fe4d492f404f (patch)
tree63eba46476ae5e0419c84266b322fa56f9a25452 /docker/README.md
parentAdd missing links to config options (#13166) (diff)
downloadsynapse-65e675504fe060e5e99e145be450fe4d492f404f.tar.xz
Add the ability to set the log level using the `SYNAPSE_TEST_LOG_LEVEL` environment when using `complement.sh`. (#13152)
Diffstat (limited to 'docker/README.md')
-rw-r--r--docker/README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/README.md b/docker/README.md
index 67c3bc65f0..5b7de2fe38 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -67,6 +67,13 @@ The following environment variables are supported in `generate` mode:
 * `UID`, `GID`: the user id and group id to use for creating the data
   directories. If unset, and no user is set via `docker run --user`, defaults
   to `991`, `991`.
+* `SYNAPSE_LOG_LEVEL`: the log level to use (one of `DEBUG`, `INFO`, `WARNING` or `ERROR`).
+  Defaults to `INFO`.
+* `SYNAPSE_LOG_SENSITIVE`: if set and the log level is set to `DEBUG`, Synapse
+  will log sensitive information such as access tokens.
+  This should not be needed unless you are a developer attempting to debug something
+  particularly tricky.
+
 
 ## Postgres