diff --git a/config/dev.exs b/config/dev.exs index 5d5249dc46..0adbc43d60 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -6,3 +6,5 @@ config :logger, :console, level: :info config :logger, :ecto, level: :debug, path: "logs/dev/ecto.log" + +config :logger, :error, path: "logs/dev/error.log" diff --git a/config/prod.exs b/config/prod.exs index afb69eb4e0..dd889fd400 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -7,3 +7,5 @@ config :logger, :console, level: :info config :logger, :ecto, level: :info, path: "logs/prod/ecto.log" + +config :logger, :error, path: "logs/prod/error.log" diff --git a/config/test.exs b/config/test.exs index a5510715c5..ad540e2b99 100644 --- a/config/test.exs +++ b/config/test.exs @@ -8,6 +8,8 @@ config :logger, :ecto, level: :warn, path: "logs/test/ecto.log" +config :logger, :error, path: "logs/test/error.log" + config :explorer, Explorer.ExchangeRates, source: Explorer.ExchangeRates.Source.NoOpSource, store: :none