Explorar el Código

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

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

See merge request pleroma/pleroma!3175
features/emoji_reactions_list
feld hace 3 años
padre
commit
2b4e355522
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      lib/mix/pleroma.ex

+ 2
- 2
lib/mix/pleroma.ex Ver fichero

@@ -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)


Cargando…
Cancelar
Guardar