mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-16 08:02:40 +00:00
test
This commit is contained in:
parent
5dea5990be
commit
1c0d58b29a
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue