Просмотр исходного кода

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.
Thales Macedo Garitezi 4 лет назад
Родитель
Сommit
01092982c1
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      mix.exs

+ 0 - 1
mix.exs

@@ -154,7 +154,6 @@ defmodule EMQXUmbrella.MixProject do
 
   def applications(release_type) do
     [
-      logger: :permanent,
       crypto: :permanent,
       public_key: :permanent,
       asn1: :permanent,