config :phoenix, serve_endpoints: true
# Do not print debug messages in production
-config :logger, :console, level: :warn
-config :logger, :ex_syslogger, level: :warn
+config :logger, :console, level: :info
+config :logger, :ex_syslogger, level: :info
# ## SSL Support
#
defmodule Pleroma.Application do
import Cachex.Spec
use Application
+ require Logger
@name Mix.Project.config()[:name]
@version Mix.Project.config()[:version]
{:ok, modules, _warnings} ->
if @env != :test do
Enum.each(modules, fn mod ->
- IO.puts("Custom module loaded: #{inspect(mod)}")
+ Logger.info("Custom module loaded: #{inspect(mod)}")
end)
end