# Configures Elixir's Logger
config :logger, :console,
+ level: :debug,
format: "$time $metadata[$level] $message\n",
metadata: [:request_id]
config :phoenix, serve_endpoints: true
# Do not print debug messages in production
-config :logger, level: :warn
+config :logger, :console, level: :warn
# ## SSL Support
#
method: Pleroma.Captcha.Mock
# Print only warnings and errors during test
-config :logger, level: :warn
+config :logger, :console, level: :warn
config :pleroma, :auth, oauth_consumer_strategies: []
@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