1
0
Fork 0
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-12-19 08:06:47 +00:00

Merge branch 'fix/mix-debug' into 'develop'

Prevent mix tasks from spewing any internal logging unless DEBUG is in the env

See merge request 
This commit is contained in:
feld 2020-11-25 23:59:52 +00:00
commit 2b4e355522

View file

@ -22,8 +22,8 @@ defmodule Mix.Pleroma do
Pleroma.Application.limiters_setup()
Application.put_env(:phoenix, :serve_endpoints, false, persistent: true)
if Pleroma.Config.get(:env) != :test do
Application.put_env(:logger, :console, level: :debug)
unless System.get_env("DEBUG") do
Logger.remove_backend(:console)
end
adapter = Application.get_env(:tesla, :adapter)