projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'bugfix/captcha-nil-answer_data' into 'develop'
[akkoma]
/
lib
/
mix
/
pleroma.ex
diff --git
a/lib/mix/pleroma.ex
b/lib/mix/pleroma.ex
index ea99234405ed77582be617cd629d703d95ae5147..73a076a531a6ee7fc9963488f6a6ff5804029340 100644
(file)
--- a/
lib/mix/pleroma.ex
+++ b/
lib/mix/pleroma.ex
@@
-4,12
+4,11
@@
defmodule Mix.Pleroma do
@doc "Common functions to be reused in mix tasks"
defmodule Mix.Pleroma do
@doc "Common functions to be reused in mix tasks"
- def start_pleroma
(change_logger_level \\ true)
do
+ def start_pleroma do
Application.put_env(:phoenix, :serve_endpoints, false, persistent: true)
Application.put_env(:phoenix, :serve_endpoints, false, persistent: true)
- if Pleroma.Config.get(:env) != :test and change_logger_level do
- require Logger
- Logger.configure(level: :debug)
+ if Pleroma.Config.get(:env) != :test do
+ Application.put_env(:logger, :console, level: :debug)
end
{:ok, _} = Application.ensure_all_started(:pleroma)
end
{:ok, _} = Application.ensure_all_started(:pleroma)