diff options
| author | Maksim Pechnikov <parallel588@gmail.com> | 2019-12-05 12:22:19 +0300 |
|---|---|---|
| committer | Maksim Pechnikov <parallel588@gmail.com> | 2019-12-05 12:22:19 +0300 |
| commit | 49bb0a130f93476d32d3177d7a989b7a98a063f2 (patch) | |
| tree | 6e64e2bbe2644dd607ec685de5b2bf94c1f9326c /lib/mix/pleroma.ex | |
| parent | b9041c209787dc279d4dc5194d65dff73684cdb9 (diff) | |
| parent | 228bf4d214abe3bb62c52128d3bc145e396b174d (diff) | |
| download | pleroma-49bb0a130f93476d32d3177d7a989b7a98a063f2.tar.gz pleroma-49bb0a130f93476d32d3177d7a989b7a98a063f2.zip | |
Merge branch 'develop' into issue/1276
Diffstat (limited to 'lib/mix/pleroma.ex')
| -rw-r--r-- | lib/mix/pleroma.ex | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/mix/pleroma.ex b/lib/mix/pleroma.ex index faeb30e1d..73a076a53 100644 --- a/lib/mix/pleroma.ex +++ b/lib/mix/pleroma.ex @@ -6,6 +6,11 @@ defmodule Mix.Pleroma do @doc "Common functions to be reused in mix tasks" def start_pleroma do Application.put_env(:phoenix, :serve_endpoints, false, persistent: true) + + if Pleroma.Config.get(:env) != :test do + Application.put_env(:logger, :console, level: :debug) + end + {:ok, _} = Application.ensure_all_started(:pleroma) end |
