From c95c66f489e5fa39a4df1fd6bfd1b71d3b2a16e2 Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Fri, 7 Jan 2022 14:29:31 -0300 Subject: [PATCH] fix(elixir): do not start logger before config Despite Hocon generating the same config in both Elixir and Erlang releases, apparently starting Logger before other applications has the subtle effect of redirecting all logs to `log/erlang.log.N`, even those lines that should appear in `log/emqx.log.N`. Simply not adding it to the application list restores the Erlang release behavior. --- mix.exs | 1 - 1 file changed, 1 deletion(-) diff --git a/mix.exs b/mix.exs index acb0ce3e1..e6dc866dd 100644 --- a/mix.exs +++ b/mix.exs @@ -154,7 +154,6 @@ defmodule EMQXUmbrella.MixProject do def applications(release_type) do [ - logger: :permanent, crypto: :permanent, public_key: :permanent, asn1: :permanent,