From 01092982c1ed8e607e87438b431cdc08d5dbc0a8 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 4e10129cf..9acdd2b92 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,