Skip to content

Commit 40d3410

Browse files
committed
Tweak logging
1 parent a50f692 commit 40d3410

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ cmd = "pip uninstall temporalio -y"
105105

106106
[tool.pytest.ini_options]
107107
asyncio_mode = "auto"
108-
log_level = "WARN"
109-
log_cli = true
110-
log_cli_level = "WARN"
111-
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
108+
# Do not use log_cli since this shows logging for all tests, not just the ones
109+
# that failed. Instead, show all logs for failed tests at the end.
110+
log_level = "DEBUG"
111+
log_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
112112
testpaths = ["tests"]
113113
timeout = 600
114114
timeout_func_only = true

0 commit comments

Comments
 (0)