mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-31 21:58:38 -04:00
Add the ability to set the log level using the SYNAPSE_TEST_LOG_LEVEL
environment when using complement.sh
. (#13152)
This commit is contained in:
parent
e514495465
commit
65e675504f
6 changed files with 44 additions and 6 deletions
|
@ -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`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue