فهرست منبع

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 سال پیش
والد
کامیت
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
   def applications(release_type) do
     [
     [
-      logger: :permanent,
       crypto: :permanent,
       crypto: :permanent,
       public_key: :permanent,
       public_key: :permanent,
       asn1: :permanent,
       asn1: :permanent,