config :logger, handle_otp_reports: false
--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/feaf4ce2-f8b5-453b-8549-124dd300336b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If the error is coming from the error handler, you can simply disable the error handler for Elixir:config :logger, handle_otp_reports: false
On Mon, May 2, 2016 at 12:33 PM, 'Sascha Kattelmann' via elixir-lang-talk <elixir-lang-talk@googlegroups.com> wrote:
I have the same problem and can't figure out what's the cause of this. Everything seems to work, it is just the logline that is annoying:Supervisor 'Elixir.Logger.Supervisor' had child undefined started with 'Elixir.Logger.Watcher':watcher(error_logger, 'Elixir.Logger.ErrorHandler', {false,false,500}, link) at <0.955.0> exit with reason normal in context child_terminatedI want to use lager only, so I really don't want to use your approach of forwarding lager logs to the elixir logger. In my case logger was kind of 'forced' into my application through libraries. Some help is highly appreciated :)
On Sunday, May 24, 2015 at 11:48:15 PM UTC+2, matteo brancaleoni wrote:Well,seems a conflict between Logger and :lager .But using https://hex.pm/packages/lager_logger and forcing some deps in my mix.exs file, like:{:can, git: "https://github.com/tonyrog/can.git"},{:lager, git: "git://github.com/Feuerlabs/lager.git", override: true},{:lager_logger, git: "https://github.com/PSPDFKit-labs/lager_logger"}makes everything ok :)But if anyone has a brief explanation on why the two loggers conflicts, is more than welcome :)
--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-talk+unsubscribe@googlegroups.com.
Actually, I think the error is something else. It seems Lager is disabling Elixir's logger? But then the supervisor kicks back in and adds it back. In any case, my previous e-mail should just work if you want Erlang errors to be logged by lager and not Elixir's Logger. :)
On Monday, May 2, 2016 at 1:33:49 PM UTC+2, José Valim wrote:
If the error is coming from the error handler, you can simply disable the error handler for Elixir:config :logger, handle_otp_reports: false
On Mon, May 2, 2016 at 12:33 PM, 'Sascha Kattelmann' via elixir-lang-talk <elixir-l...@googlegroups.com> wrote:
I have the same problem and can't figure out what's the cause of this. Everything seems to work, it is just the logline that is annoying:Supervisor 'Elixir.Logger.Supervisor' had child undefined started with 'Elixir.Logger.Watcher':watcher(error_logger, 'Elixir.Logger.ErrorHandler', {false,false,500}, link) at <0.955.0> exit with reason normal in context child_terminatedI want to use lager only, so I really don't want to use your approach of forwarding lager logs to the elixir logger. In my case logger was kind of 'forced' into my application through libraries. Some help is highly appreciated :)
On Sunday, May 24, 2015 at 11:48:15 PM UTC+2, matteo brancaleoni wrote:Well,seems a conflict between Logger and :lager .But using https://hex.pm/packages/lager_logger and forcing some deps in my mix.exs file, like:{:can, git: "https://github.com/tonyrog/can.git"},{:lager, git: "git://github.com/Feuerlabs/lager.git", override: true},{:lager_logger, git: "https://github.com/PSPDFKit-labs/lager_logger"}makes everything ok :)But if anyone has a brief explanation on why the two loggers conflicts, is more than welcome :)
--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.