aboutsummaryrefslogtreecommitdiff
path: root/config/test.exs
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2019-11-20 11:55:30 -0600
committerMark Felder <feld@FreeBSD.org>2019-11-20 11:55:30 -0600
commitedaae845afc63d558c22019b3b3f87bc510a3bdf (patch)
tree7f2390751bf8c4cf7ff578211af74620ad8ff035 /config/test.exs
parentc65190c799b6217dca36f9fe4768024b50b725a8 (diff)
downloadpleroma-edaae845afc63d558c22019b3b3f87bc510a3bdf.tar.gz
Some tasks try to set log level in test environment, but we were stripping logs belog :warn.
Ensure console backend logs in test environment are :warn, but mix tasks run in test env do not run with :debug because it's far too verbose.
Diffstat (limited to 'config/test.exs')
-rw-r--r--config/test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/test.exs b/config/test.exs
index 07e70dd4d..9b737d4d7 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -15,7 +15,7 @@ config :pleroma, Pleroma.Captcha,
method: Pleroma.Captcha.Mock
# Print only warnings and errors during test
-config :logger,
+config :logger, :console,
level: :warn,
format: "\n[$level] $message\n"