Add loglevel to env variable

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-11-08 16:20:36 +01:00
parent fdef983125
commit c1222763f1

View File

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