Make loglevel env an atom

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-11-08 16:23:09 +01:00
parent b71764e0fd
commit d8bcf2016b

View File

@ -41,7 +41,7 @@ config :mobilizon, Mobilizon.Mailer,
no_mx_lookups: false
# Do not print debug messages in production
config :logger, level: System.get_env("MOBILIZON_LOGLEVEL") || :info
config :logger, level: System.get_env("MOBILIZON_LOGLEVEL") |> String.to_atom || :info
# ## SSL Support
#