1
0
Fork 0
mirror of https://git.pleroma.social/pleroma/pleroma.git synced 2026-02-15 17:16:57 +00:00

Elixir 1.19: Disable logging with colors in test environment

Can break some tests capture logs and then match on an expected text.
Since color codes end up being in the captured log.
This commit is contained in:
Phantasm 2026-01-13 00:36:15 +01:00
parent b35573c6b5
commit 941c99d317
No known key found for this signature in database
GPG key ID: 2669E588BCC634C8

View file

@ -17,7 +17,11 @@ config :pleroma, Pleroma.Captcha,
# Print only warnings and errors during test
config :logger, :default_handler, level: :warning
config :logger, :default_formatter, format: "\n[$level] $message\n"
config :logger, :default_formatter,
format: "\n[$level] $message\n",
colors: [
enabled: false
]
config :pleroma, :auth, oauth_consumer_strategies: []