This commit is contained in:
Mayel de Borniol 2024-03-04 09:40:23 +00:00
parent 5dea5990be
commit 1c0d58b29a

View file

@ -33,8 +33,8 @@ config :logger,
config :logger, :console, truncate: truncate
if !test_instance? do
# to supress non-captured logs in tests (eg. in setup_all)
if !test_instance? and System.get_env("CAPTURE_LOG") != "no" do
# to suppress non-captured logs in tests (eg. in setup_all)
config :logger, backends: []
end