Skip to content

Commit 4396f4d

Browse files
authored
test: allow changing verbosity in captured logs (#575)
This is useful in some development sessions, as by default the printed logs can be quite lengthy, especially in integration tests. This change adds support for using `TEST_LOGS` environment variable to set the captured verbosity to values that make it easier to debug the output.
1 parent 6772c8f commit 4396f4d

File tree

6 files changed

+146
-309
lines changed

6 files changed

+146
-309
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.7
1+
2.1.8

config/test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ config :supavisor, Supavisor.Vault,
4848

4949
# Print only warnings and errors during test
5050
config :logger, :console,
51-
level: :error,
51+
level: :none,
5252
metadata: [:error_code, :file, :line, :pid, :project, :user, :mode]
5353

5454
# Initialize plugs at runtime for faster test compilation

0 commit comments

Comments
 (0)