From 5b87ba1283020737acaf240aa50f5b68482a23fd Mon Sep 17 00:00:00 2001 From: Uk Chukundah Date: Sun, 5 Jan 2025 10:07:03 +0100 Subject: [PATCH] Update config --- config/config.exs | 4 +++- config/dev.exs | 2 +- config/prod.exs | 9 ++++++++- config/test.exs | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/config/config.exs b/config/config.exs index 8233fe9..1198fd5 100644 --- a/config/config.exs +++ b/config/config.exs @@ -1,3 +1,5 @@ -use Mix.Config +import Config + +config :wampex_client, env: config_env() import_config "#{Mix.env()}.exs" diff --git a/config/dev.exs b/config/dev.exs index d2d855e..becde76 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -1 +1 @@ -use Mix.Config +import Config diff --git a/config/prod.exs b/config/prod.exs index d2d855e..9d5ca1e 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -1 +1,8 @@ -use Mix.Config +import Config + +config :logger, + level: :info, + truncate: :infinity, + compile_time_purge_matching: [ + [level_lower_than: :info] + ] diff --git a/config/test.exs b/config/test.exs index f0ee68e..86219ab 100644 --- a/config/test.exs +++ b/config/test.exs @@ -1,4 +1,4 @@ -use Mix.Config +import Config config :wampex_router, topologies: [ -- 2.45.3