You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -352,11 +352,11 @@ If you are running one of the `no-responder` tests, omit the `run-server` step.
352
352
353
353
## Enable Debug Logs
354
354
355
-
- Use `-o log_cli_level="DEBUG" -o log_cli=1` with `just test` or `pytest`.
356
-
- Add `log_cli_level = "DEBUG` and `log_cli = 1` to the `tool.pytest.ini_options` section in `pyproject.toml`for Evergreen patches or to enable debug logs by default on your machine.
357
-
-You can also set `DEBUG_LOG=1` and run either `just setup-tests` or `just-test`.
355
+
- Use `-o log_cli_level="DEBUG" -o log_cli=1` with `just test` or `pytest` to output all debug logs to the terminal. **Warning**: This will output a huge amount of logs.
356
+
- Add `log_cli=1` and `log_cli_level="DEBUG"` to the `tool.pytest.ini_options` section in `pyproject.toml` to enable debug logs in this manner by default on your machine.
357
+
-Set `DEBUG_LOG=1` and run `just setup-tests`, `just-test`, or `pytest` to enable debug logs only for failed tests.
358
358
- Finally, you can use `just setup-tests --debug-log`.
359
-
- For evergreen patch builds, you can use `evergreen patch --param DEBUG_LOG=1` to enable debug logs for the patch.
359
+
- For evergreen patch builds, you can use `evergreen patch --param DEBUG_LOG=1` to enable debug logs for failed tests in the patch.
0 commit comments