Allow mix tasks to always run with debug logging
This commit is contained in:
parent
27f73d38c0
commit
ff9133b978
4 changed files with 4 additions and 2 deletions
|
|
@ -6,6 +6,7 @@ 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)
|
||||
Application.put_env(:logger, :console, level: :debug)
|
||||
{:ok, _} = Application.ensure_all_started(:pleroma)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue