summary refs log tree commit diff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2021-06-11 03:57:34 -0500
committerGitHub <noreply@github.com>2021-06-11 09:57:34 +0100
commite21c3473324116e4a25346991aca08e3207778e1 (patch)
tree63f6de51f5eafa19bc8e62da2d16c6a2aa015150 /CONTRIBUTING.md
parentMention that you need to configure max upload size in reverse proxy as well (... (diff)
downloadsynapse-e21c3473324116e4a25346991aca08e3207778e1.tar.xz
Document how to see logger output when running the twisted tests (#10148)
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index b6a70f7ffe..a4e6688042 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -173,12 +173,19 @@ source ./env/bin/activate
 trial tests.rest.admin.test_room tests.handlers.test_admin.ExfiltrateData.test_invite
 ```
 
-If your tests fail, you may wish to look at the logs:
+If your tests fail, you may wish to look at the logs (the default log level is `ERROR`):
 
 ```sh
 less _trial_temp/test.log
 ```
 
+To increase the log level for the tests, set `SYNAPSE_TEST_LOG_LEVEL`:
+
+```sh
+SYNAPSE_TEST_LOG_LEVEL=DEBUG trial tests
+```
+
+
 ## Run the integration tests.
 
 The integration tests are a more comprehensive suite of tests. They