Skip to content

Commit 38f97a3

Browse files
authored
PYTHON-5177 - Add instructions for enabling debug logs to CONTRIBUTING.md (#2170)
1 parent e28f49c commit 38f97a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,10 @@ the pages will re-render and the browser will automatically refresh.
224224
- Run the tests with `just run-tests`.
225225
- When done, run `just teardown-tests` to clean up.
226226

227+
## Enable Debug Logs
228+
- Use `-o log_cli_level="DEBUG" -o log_cli=1` with `just test` or `pytest`.
229+
- 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.
230+
227231
## Re-sync Spec Tests
228232

229233
If you would like to re-sync the copy of the specification tests in the

0 commit comments

Comments
 (0)