summary refs log tree commit diff
path: root/docs/development
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 /docs/development
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 'docs/development')
-rw-r--r--docs/development/contributing_guide.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/development/contributing_guide.md b/docs/development/contributing_guide.md
index 4738f8a6b6..900369b80f 100644
--- a/docs/development/contributing_guide.md
+++ b/docs/development/contributing_guide.md
@@ -309,6 +309,10 @@ The above will run a monolithic (single-process) Synapse with SQLite as the data
 - Passing `POSTGRES=1` as an environment variable to use the Postgres database instead.
 - Passing `WORKERS=1` as an environment variable to use a workerised setup instead. This option implies the use of Postgres.
 
+To increase the log level for the tests, set `SYNAPSE_TEST_LOG_LEVEL`, e.g:
+```sh
+SYNAPSE_TEST_LOG_LEVEL=DEBUG COMPLEMENT_DIR=../complement ./scripts-dev/complement.sh -run TestImportHistoricalMessages
+```
 
 ### Prettier formatting with `gotestfmt`