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 c1222763f1
commit f87b042c72
1 changed files with 1 additions and 1 deletions

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
#